openzfs: re-enable FPU usage on aarch64

The BLAKE3 generated assembly files have now been updated to avoid
clobbering x18, we can safely re-enable FPU usage on aarch64.
This commit is contained in:
Kyle Evans 2023-04-26 19:47:14 -05:00
parent 42f0ac5f1b
commit 087a2e64ba

View File

@ -58,12 +58,7 @@
#else
/*
* XXX kfpu_allowed() should be 1, but this is pending a fix to the BLAKE3
* generated assembly to avoid clobbering x18. Turn it back on after that
* lands.
*/
#define kfpu_allowed() 0
#define kfpu_allowed() 1
#define kfpu_begin() do { \
if (__predict_false(!is_fpu_kern_thread(0))) \
fpu_kern_enter(curthread, NULL, FPU_KERN_NOCTX); \