Module: xenomai-3
Branch: stable-3.0.x
Commit: 5a9d7c638798a328e8d0634ab9bcd455bf492c10
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5a9d7c638798a328e8d0634ab9bcd455bf492c10

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Nov  2 20:45:10 2015 +0100

cobalt/kernel: fixup for v3.19+ (user_msghdr)

---

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

diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h 
b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h
index f43b8fb..f889a7d 100644
--- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h
+++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h
@@ -130,4 +130,8 @@ trace_seq_buffer_ptr(struct trace_seq *s)
 #define user_msghdr msghdr
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0)
+#define user_msghdr msghdr
+#endif
+
 #endif /* _COBALT_ASM_GENERIC_WRAPPERS_H */


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

Reply via email to