Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146163771
D36894.1779387616.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
594 B
Referenced Files
None
Subscribers
None
D36894.1779387616.diff
View Options
diff --git a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h
--- a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h
+++ b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h
@@ -55,7 +55,9 @@
#include <machine/pcb.h>
#include <machine/cpu.h>
-#define kfpu_allowed() 1
+/* FreeBSD doesn't support floating point on powerpc kernel yet */
+#define kfpu_allowed() 0
+
#define kfpu_initialize(tsk) do {} while (0)
#define kfpu_begin() do {} while (0)
#define kfpu_end() do {} while (0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 21, 6:20 PM (14 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28757256
Default Alt Text
D36894.1779387616.diff (594 B)
Attached To
Mode
D36894: zfs: disable floating point on powerpc kernels
Attached
Detach File
Event Timeline
Log In to Comment