All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] __deprecated not defined for Linux 2.4
@ 2007-07-09 14:45 Wolfgang Grandegger
  2007-07-09 14:46 ` Philippe Gerum
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Grandegger @ 2007-07-09 14:45 UTC (permalink / raw)
  To: xenomai-core

[-- 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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-07-09 15:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09 14:45 [Xenomai-core] [PATCH] __deprecated not defined for Linux 2.4 Wolfgang Grandegger
2007-07-09 14:46 ` 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

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.