diff --git a/sys/compat/linuxkpi/common/src/linux_fpu.c b/sys/compat/linuxkpi/common/src/linux_fpu.c --- a/sys/compat/linuxkpi/common/src/linux_fpu.c +++ b/sys/compat/linuxkpi/common/src/linux_fpu.c @@ -30,6 +30,7 @@ #include #include +#if defined(__aarch64__) || defined(__amd64__) || defined(__i386__) #include struct fpu_kern_ctx *__lkpi_fpu_ctx; @@ -48,3 +49,4 @@ fpu_kern_free_ctx(__lkpi_fpu_ctx); } SYSUNINIT(linux_fpu, SI_SUB_EVENTHANDLER, SI_ORDER_SECOND, linux_fpu_uninit, NULL); +#endif