Commit a41d8bba authored by Henning Schild's avatar Henning Schild Committed by Jan Kiszka

cobalt: fixup for kernel 4.14+

Signed-off-by: Henning Schild's avatarHenning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 9f7b4cf4
......@@ -20,7 +20,12 @@
#define _COBALT_ASM_GENERIC_SYSCALL_H
#include <linux/types.h>
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0)
#include <asm/uaccess.h>
#else
#include <linux/uaccess.h>
#endif
#include <asm/xenomai/features.h>
#include <asm/xenomai/wrappers.h>
#include <asm/xenomai/machine.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment