In kernel 4.14 the function fpu__activate_curr to fpu__initialize. Based on upstream commit: 2ce03d850b9a2f17d55596ecfa86e72b5687a627 - x86/fpu: Rename fpu__activate_curr() to fpu__initialize() --- module/sys_funcs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/sys_funcs.c b/module/sys_funcs.c index 6676463..b675e59 100644 --- a/module/sys_funcs.c +++ b/module/sys_funcs.c @@ -53,7 +53,9 @@ #include <asm-generic/set_memory.h> #endif -#if LINUX_VERSION_CODE > KERNEL_VERSION(4,2,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0) +#define init_fpu(current) fpu__initialize(¤t->thread.fpu); +#elif LINUX_VERSION_CODE > KERNEL_VERSION(4,2,0) #define init_fpu(current) fpu__activate_curr(¤t->thread.fpu); #endif -- 1.9.1