All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] Fix warnings for kernel 2.4 builds
@ 2007-02-09  9:01 Jan Kiszka
  2007-02-09  9:16 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2007-02-09  9:01 UTC (permalink / raw)
  To: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

Index: include/asm-generic/wrappers.h
===================================================================
--- include/asm-generic/wrappers.h	(Revision 2167)
+++ include/asm-generic/wrappers.h	(Arbeitskopie)
@@ -257,8 +257,6 @@ unsigned long __va_to_kva(unsigned long 
 					   &(p)->pending.signal, \
 					   &(p)->signal->shared_pending.signal)
 
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) */
-
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
 #define DECLARE_WORK_NODATA(f, n)	DECLARE_WORK(f, n, NULL)
 #define DECLARE_WORK_FUNC(f)		void f(void *cookie)
@@ -267,4 +265,6 @@ unsigned long __va_to_kva(unsigned long 
 #define DECLARE_WORK_FUNC(f)		void f(struct work_struct *work)
 #endif /* >= 2.6.20 */
 
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) */
+
 #endif /* _XENO_ASM_GENERIC_WRAPPERS_H */



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

end of thread, other threads:[~2007-02-09  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-09  9:01 [Xenomai-core] [PATCH] Fix warnings for kernel 2.4 builds Jan Kiszka
2007-02-09  9:16 ` Philippe Gerum

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.