Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103025470
D40497.id123235.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
554 B
Referenced Files
None
Subscribers
None
D40497.id123235.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D40497: linuxkpi: #ifdef guard fpu_kern(9) usage
Attached
Detach File
Event Timeline
Log In to Comment