From: Wolfgang Grandegger <wg@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PATCH] __deprecated not defined for Linux 2.4
Date: Mon, 09 Jul 2007 16:45:46 +0200 [thread overview]
Message-ID: <46924A1A.4010909@domain.hid> (raw)
[-- Attachment #1: Type: text/plain, Size: 172 bytes --]
Hello,
the attached patch changes:
2007-07-09 Wolfgang Grandegger <wg@domain.hid>
* include/asm-generic/wrappers.h: add __deprecated for Linux 2.4.
Wolfgang.
[-- Attachment #2: xenomai__deprecated.patch --]
[-- Type: text/x-patch, Size: 919 bytes --]
Index: include/asm-generic/wrappers.h
===================================================================
--- include/asm-generic/wrappers.h (revision 2758)
+++ include/asm-generic/wrappers.h (working copy)
@@ -179,6 +179,8 @@ void show_stack(struct task_struct *task
#define atomic_cmpxchg(v, old, new) ((int)cmpxchg(&((v)->counter), old, new))
+#define __deprecated __attribute__((deprecated))
+
#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) */
#define compat_module_param_array(name, type, count, perm) \
Index: ChangeLog
===================================================================
--- ChangeLog (revision 2758)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2007-07-09 Wolfgang Grandegger <wg@domain.hid>
+
+ * include/asm-generic/wrappers.h: add __deprecated for Linux 2.4.
+
2007-07-08 Philippe Gerum <rpm@xenomai.org>
* xenomai: Upgrade to autoconf 2.61, automake 1.10, libtool
next reply other threads:[~2007-07-09 14:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 14:45 Wolfgang Grandegger [this message]
2007-07-09 14:46 ` [Xenomai-core] [PATCH] __deprecated not defined for Linux 2.4 Philippe Gerum
2007-07-09 14:50 ` Jan Kiszka
2007-07-09 14:59 ` Philippe Gerum
2007-07-09 15:02 ` Jan Kiszka
2007-07-09 15:09 ` Philippe Gerum
2007-07-09 15:32 ` Wolfgang Grandegger
2007-07-09 15:32 ` Philippe Gerum
2007-07-09 15:11 ` Wolfgang Grandegger
2007-07-09 15:14 ` Jan Kiszka
2007-07-09 15:30 ` Philippe Gerum
2007-07-09 15:57 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46924A1A.4010909@domain.hid \
--to=wg@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.