zfs: disable kernel fpu usage on arm and aarc64

It is not implemented and causes panics on boot.

This is a temporary measure until someone(tm) sorts it out.

Reported by:	many
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2023-04-07 21:44:49 +00:00
parent 02e6e8d218
commit d6e2490134
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@
#include <machine/elf.h>
#include <machine/md_var.h>
#define kfpu_allowed() 1
#define kfpu_allowed() 0
#define kfpu_initialize(tsk) do {} while (0)
#define kfpu_begin() do {} while (0)
#define kfpu_end() do {} while (0)

View file

@ -46,7 +46,7 @@
#include <machine/elf.h>
#include <machine/md_var.h>
#define kfpu_allowed() 1
#define kfpu_allowed() 0
#define kfpu_initialize(tsk) do {} while (0)
#define kfpu_begin() do {} while (0)
#define kfpu_end() do {} while (0)