Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103019691
D40497.id123090.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
566 B
Referenced Files
None
Subscribers
None
D40497.id123090.diff
View Options
Index: sys/compat/linuxkpi/common/src/linux_fpu.c
===================================================================
--- sys/compat/linuxkpi/common/src/linux_fpu.c
+++ 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, 9:59 PM (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14748104
Default Alt Text
D40497.id123090.diff (566 B)
Attached To
Mode
D40497: linuxkpi: #ifdef guard fpu_kern(9) usage
Attached
Detach File
Event Timeline
Log In to Comment