Page MenuHomeFreeBSD

D40497.id123235.diff
No OneTemporary

D40497.id123235.diff

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 <sys/proc.h>
#include <sys/kernel.h>
+#if defined(__aarch64__) || defined(__amd64__) || defined(__i386__)
#include <machine/fpu.h>
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

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 11:37 PM (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14747641
Default Alt Text
D40497.id123235.diff (554 B)

Event Timeline