Module: xenomai-2.6
Branch: master
Commit: 7a48019268d7e1157ebb072b88f6683425f0c7c5
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=7a48019268d7e1157ebb072b88f6683425f0c7c5

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Apr  4 10:18:07 2014 +0200

asm-generic/wrappers: assume generic hardirq supported for v3.12+

All kernel architectures implement generic hardirq support since 3.12.

---

 include/asm-generic/wrappers.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index 2c09c5e..0be7ee1 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -670,6 +670,10 @@ static inline void wrap_proc_dir_entry_owner(struct 
proc_dir_entry *entry)
 #define DEFINE_BINARY_SEMAPHORE(sem) DEFINE_SEMAPHORE(sem)
 #endif
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,12)
+#define CONFIG_GENERIC_HARDIRQS 1
+#endif
+
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37) && 
defined(CONFIG_GENERIC_HARDIRQS)
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39)


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

Reply via email to