[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 1d01a02cd9c08218668478d58504981464ccda5b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1d01a02cd9c08218668478d58504981464ccda5b Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index 8e1dc39..96ca5f1 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -61,7 +61,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -74,6 +73,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: ebd5bc408c7c5c25aa91fdbdb375d4da0d434e6c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ebd5bc408c7c5c25aa91fdbdb375d4da0d434e6c Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index 05be40d..7b191e4 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -55,7 +55,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -68,6 +67,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: f2e73d8e53e87ca954649f9ac7d3d5e99020ecf5 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f2e73d8e53e87ca954649f9ac7d3d5e99020ecf5 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index 05be40d..7b191e4 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -55,7 +55,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -68,6 +67,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: e60aa9c4a6e122d19d214472da1bd33660c621e3 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e60aa9c4a6e122d19d214472da1bd33660c621e3 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index 05be40d..7b191e4 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -55,7 +55,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -68,6 +67,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 8479646df397b6ac444b3d6cd1de61eed5e047ea URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8479646df397b6ac444b3d6cd1de61eed5e047ea Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index a9424b9..8ad4108 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -50,7 +50,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -63,6 +62,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: f15121eac0fdeebd70a0a3bfb891316ac82ec899 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f15121eac0fdeebd70a0a3bfb891316ac82ec899 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index a9424b9..8ad4108 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -50,7 +50,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -63,6 +62,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 0d05921408b3acabc318f7d738fce963a861dc73 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0d05921408b3acabc318f7d738fce963a861dc73 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index a9424b9..8ad4108 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -50,7 +50,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -63,6 +62,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 6428779fb9db562a913ad1d57ae278519c2ccbc5 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6428779fb9db562a913ad1d57ae278519c2ccbc5 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index a9424b9..8ad4108 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -50,7 +50,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -63,6 +62,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: a3de9ee010d572979ed64b2f5b316c6f68b9e0b3 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a3de9ee010d572979ed64b2f5b316c6f68b9e0b3 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index a9424b9..8ad4108 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -50,7 +50,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -63,6 +62,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 40c5e4e215e046352e7c973ddadb145000fc URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=40c5e4e215e046352e7c973ddadb145000fc Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index a9424b9..8ad4108 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -50,7 +50,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -63,6 +62,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: f174ad62d856d8194fbd605a90ca092b13dcec6b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f174ad62d856d8194fbd605a90ca092b13dcec6b Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index ceaf647..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -44,7 +44,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -57,6 +56,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: bb8d4c7ca3c2d78c2163419f91bcc5fac7f496fa URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bb8d4c7ca3c2d78c2163419f91bcc5fac7f496fa Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index ceaf647..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -44,7 +44,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -57,6 +56,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 6ab5b8a763a597cefd620230afc631f7e1c60df7 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6ab5b8a763a597cefd620230afc631f7e1c60df7 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index ceaf647..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -44,7 +44,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -57,6 +56,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 93c5aa358fb4c5a3b89bc546dbaee1b5f08054e9 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=93c5aa358fb4c5a3b89bc546dbaee1b5f08054e9 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index ceaf647..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -44,7 +44,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -57,6 +56,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 562abe75d3541c8d314f28c30f63ea03735bd3d0 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=562abe75d3541c8d314f28c30f63ea03735bd3d0 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index ceaf647..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -44,7 +44,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -57,6 +56,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 40e1e3b85997cd4d3194851ea77cda001293861b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=40e1e3b85997cd4d3194851ea77cda001293861b Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- kernel/cobalt/include/asm-generic/xenomai/wrappers.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index ceaf647..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -44,7 +44,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ @@ -57,6 +56,7 @@ trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: wip/dovetail Commit: 0517ffe676269b07bc0c1d1a4c3b0128c2e89235 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0517ffe676269b07bc0c1d1a4c3b0128c2e89235 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- .../cobalt/include/asm-generic/xenomai/wrappers.h | 50 +++- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index 8ceed3a..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -29,33 +29,34 @@ /* * To keep the #ifdefery as readable as possible, please: * - * - keep the conditional structure flat, no nesting (e.g. do not nest + * - keep the conditional structure flat, no nesting (e.g. do not fold * the pre-3.11 conditions into the pre-3.14 ones). - * - group all wrappers which share the same condition. + * - group all wrappers for a single kernel revision. + * - list conditional blocks in order of kernel release, latest first * - identify the first kernel release for which the wrapper should * be defined, instead of testing the existence of a preprocessor * symbol, so that obsolete wrappers can be spotted. - * - put the newer wrappers in front, so that old wrappers can be removed - * without side effects on newer wrappers. */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) #define user_msghdr msghdr -#endif /* < 3.19 */ +#endif #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ alloc_netdev_mqs(sizeof_priv, name, setup, 1, 1) + +#include static inline unsigned char * trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) @@ -71,28 +72,30 @@ trace_seq_buffer_ptr(struct trace_seq *s) #include #ifdef CONFIG_PCI -#define pci_enable_msix_range \ - COBALT_BACKPORT(pci_enable_msix_range) +#define pci_enable_msix_range COBALT_BACKPORT(pci_enable_msix_range) #ifdef CONFIG_PCI_MSI int pci_enable_msix_range(struct pci_dev *dev, - struct msix_entry *entries, - int minvec, int maxvec); -#else /* not pci msi */ -static inline int pci_enable_msix_range(struct pci_dev *dev, - struct msix_entry *entries, - int minvec, int maxvec) -{ return -ENOSYS; } -#endif /* not pci msi */ -#endif /* pci */ + struct msix_entry *entries, + int minvec, int maxvec); +#else /* !CONFIG_PCI_MSI */ +static inline +int pci_enable_msix_range(struct pci_dev *dev, + struct msix_entry *entries, + int minvec, int maxvec) +{ + return -ENOSYS; +} +#endif /* !CONFIG_PCI_MSI */ +#endif /* CONFIG_PCI */ #endif /* < 3.14 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0) #include #include -#define dma_set_mask_and_coherent \ - COBALT_BACKPORT(dma_set_mask_and_coherent) -static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask) +#define dma_set_mask_and_coherent COBALT_BACKPORT(dma_set_mask_and_coherent) +static inline +int dma_set_mask_and_coherent(struct device *dev, u64 mask) { int rc = dma_set_mask(dev, mask); if (rc == 0) @@ -114,8 +117,11 @@ struct device * devm_hwmon_device_register_with_groups(struct device *dev, const char *name, void *drvdata, const struct attribute_group **groups); -#endif /* hwmon */ -#endif /* < 3,13 */ +#endif /* !CONFIG_HWMON */ + +#define reinit_completion(__x) INIT_COMPLETION(*(__x)) + +#endif /* < 3.13 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0) #define DEVICE_ATTR_RW(_name) __ATTR_RW(_name) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/wrappers: add wrapper for reinit_completion()
Module: xenomai-3 Branch: next Commit: 0517ffe676269b07bc0c1d1a4c3b0128c2e89235 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0517ffe676269b07bc0c1d1a4c3b0128c2e89235 Author: Philippe GerumDate: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() --- .../cobalt/include/asm-generic/xenomai/wrappers.h | 50 +++- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h index 8ceed3a..060ce85 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h +++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h @@ -29,33 +29,34 @@ /* * To keep the #ifdefery as readable as possible, please: * - * - keep the conditional structure flat, no nesting (e.g. do not nest + * - keep the conditional structure flat, no nesting (e.g. do not fold * the pre-3.11 conditions into the pre-3.14 ones). - * - group all wrappers which share the same condition. + * - group all wrappers for a single kernel revision. + * - list conditional blocks in order of kernel release, latest first * - identify the first kernel release for which the wrapper should * be defined, instead of testing the existence of a preprocessor * symbol, so that obsolete wrappers can be spotted. - * - put the newer wrappers in front, so that old wrappers can be removed - * without side effects on newer wrappers. */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) #define user_msghdr msghdr -#endif /* < 3.19 */ +#endif #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) #include -#include #undef alloc_netdev #define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \ alloc_netdev_mqs(sizeof_priv, name, setup, 1, 1) + +#include static inline unsigned char * trace_seq_buffer_ptr(struct trace_seq *s) { return s->buffer + s->len; } + #endif /* < 3.17 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) @@ -71,28 +72,30 @@ trace_seq_buffer_ptr(struct trace_seq *s) #include #ifdef CONFIG_PCI -#define pci_enable_msix_range \ - COBALT_BACKPORT(pci_enable_msix_range) +#define pci_enable_msix_range COBALT_BACKPORT(pci_enable_msix_range) #ifdef CONFIG_PCI_MSI int pci_enable_msix_range(struct pci_dev *dev, - struct msix_entry *entries, - int minvec, int maxvec); -#else /* not pci msi */ -static inline int pci_enable_msix_range(struct pci_dev *dev, - struct msix_entry *entries, - int minvec, int maxvec) -{ return -ENOSYS; } -#endif /* not pci msi */ -#endif /* pci */ + struct msix_entry *entries, + int minvec, int maxvec); +#else /* !CONFIG_PCI_MSI */ +static inline +int pci_enable_msix_range(struct pci_dev *dev, + struct msix_entry *entries, + int minvec, int maxvec) +{ + return -ENOSYS; +} +#endif /* !CONFIG_PCI_MSI */ +#endif /* CONFIG_PCI */ #endif /* < 3.14 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0) #include #include -#define dma_set_mask_and_coherent \ - COBALT_BACKPORT(dma_set_mask_and_coherent) -static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask) +#define dma_set_mask_and_coherent COBALT_BACKPORT(dma_set_mask_and_coherent) +static inline +int dma_set_mask_and_coherent(struct device *dev, u64 mask) { int rc = dma_set_mask(dev, mask); if (rc == 0) @@ -114,8 +117,11 @@ struct device * devm_hwmon_device_register_with_groups(struct device *dev, const char *name, void *drvdata, const struct attribute_group **groups); -#endif /* hwmon */ -#endif /* < 3,13 */ +#endif /* !CONFIG_HWMON */ + +#define reinit_completion(__x) INIT_COMPLETION(*(__x)) + +#endif /* < 3.13 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0) #define DEVICE_ATTR_RW(_name) __ATTR_RW(_name) ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git