Commit 6faffb4f authored by Greg Gallagher's avatar Greg Gallagher Committed by Jan Kiszka

kernel: cobalt: Remove header file for newer kernels

5.4 kernels do not have compiler.h, only include this header file for
kernels older than 5.4. The file resurfaced in 5.7, but that is not in
scope for I-pipe
Signed-off-by: Greg Gallagher's avatarGreg Gallagher <greg@embeddedgreg.com>
[Jan: ported over next and adjusted commit message]
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 2cc90523
......@@ -29,7 +29,11 @@
#define XNARCH_HOST_TICK_IRQ __ipipe_hrtimer_irq
#include <asm/barrier.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0)
#include <asm/compiler.h>
#endif
#include <asm/cmpxchg.h>
#include <asm/switch_to.h>
#include <asm/system_misc.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