aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_raidz_math_aarch64_neonx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/vdev_raidz_math_aarch64_neonx2.c')
-rw-r--r--module/zfs/vdev_raidz_math_aarch64_neonx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev_raidz_math_aarch64_neonx2.c b/module/zfs/vdev_raidz_math_aarch64_neonx2.c
index f8688a06a..e072f51cd 100644
--- a/module/zfs/vdev_raidz_math_aarch64_neonx2.c
+++ b/module/zfs/vdev_raidz_math_aarch64_neonx2.c
@@ -217,7 +217,7 @@ DEFINE_REC_METHODS(aarch64_neonx2);
static boolean_t
raidz_will_aarch64_neonx2_work(void)
{
- return (B_TRUE); // __arch64__ requires NEON
+ return (kfpu_allowed());
}
const raidz_impl_ops_t vdev_raidz_aarch64_neonx2_impl = {