[PATCH v3 3/5] cobalt/kernel: Lower impact of wrapping for older kernels
Florian Bezdeka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
This is a preparation commit for the following wrapping of mm_get_unmapped_area() for kernels < 6.19. The arch specific asm/xenomai/machine.h will include further Linux headers, at least on arm. If the wrappers.h is included upfront the wrapping for older kernels is applied to Linux headers as well. Move the include of wrappers.h down until the Linux parts are done. Signed-off-by: Florian Bezdeka <[email protected]> --- kernel/cobalt/include/asm-generic/xenomai/syscall.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/cobalt/include/asm-generic/xenomai/syscall.h b/kernel/cobalt/include/asm-generic/xenomai/syscall.h index 943491be3f265e237ce477b9fc9af0690f99d4e6..5401f38bee272a96bc9ea29f81606c47fb0e1ee1 100644 --- a/kernel/cobalt/include/asm-generic/xenomai/syscall.h +++ b/kernel/cobalt/include/asm-generic/xenomai/syscall.h @@ -22,9 +22,10 @@ #include <linux/types.h> #include <linux/version.h> #include <linux/uaccess.h> + #include <asm/xenomai/features.h> -#include <asm/xenomai/wrappers.h> #include <asm/xenomai/machine.h> +#include <asm/xenomai/wrappers.h> #include <cobalt/uapi/asm-generic/syscall.h> #include <cobalt/uapi/kernel/types.h> -- 2.53.0