Module: xenomai-forge
Branch: next
Commit: dc2aaf496041b8ee9393cc24d629b261f7e6b41f
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=dc2aaf496041b8ee9393cc24d629b261f7e6b41f

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Feb 16 17:03:35 2014 +0100

cobalt/powerpc: assume kernel version >= 3.10

---

 kernel/cobalt/arch/powerpc/include/asm/xenomai/wrappers.h |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/kernel/cobalt/arch/powerpc/include/asm/xenomai/wrappers.h 
b/kernel/cobalt/arch/powerpc/include/asm/xenomai/wrappers.h
index fce5526..e8f0aa6 100644
--- a/kernel/cobalt/arch/powerpc/include/asm/xenomai/wrappers.h
+++ b/kernel/cobalt/arch/powerpc/include/asm/xenomai/wrappers.h
@@ -24,11 +24,6 @@
 #endif
 
 #include <linux/version.h>
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
-#error "Linux kernel 3.0 or above required for this architecture"
-#endif
-
 #include <asm/uaccess.h>
 
 #ifdef CONFIG_PPC64
@@ -71,10 +66,6 @@
 #define of_register_platform_driver platform_driver_register
 #define of_unregister_platform_driver platform_driver_unregister
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)
 #define wrap_strncpy_from_user(dstP, srcP, n)  strncpy_from_user(dstP, srcP, n)
-#else
-#define wrap_strncpy_from_user(dstP, srcP, n)  __strncpy_from_user(dstP, srcP, 
n)
-#endif
 
 #endif /* _COBALT_POWERPC_ASM_WRAPPERS_H */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to