aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2020-07-25 11:00:23 -0700
committerGitHub <[email protected]>2020-07-25 11:00:23 -0700
commitf5b189f9379b092600293ac3e7a670bf2087d88c (patch)
tree303d187727bf643c8e0ec91a937c76a6f33c5dcd /module
parentd364de7a89dc339aad1bc20d429dc670e61dc1ff (diff)
FreeBSD: Fixes required to build ZFS on PowerPC
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #10622
Diffstat (limited to 'module')
-rw-r--r--module/zfs/vdev_raidz_math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev_raidz_math.c b/module/zfs/vdev_raidz_math.c
index acaa32f6d..aa92cb83d 100644
--- a/module/zfs/vdev_raidz_math.c
+++ b/module/zfs/vdev_raidz_math.c
@@ -65,7 +65,7 @@ const raidz_impl_ops_t *raidz_all_maths[] = {
&vdev_raidz_aarch64_neon_impl,
&vdev_raidz_aarch64_neonx2_impl,
#endif
-#if defined(__powerpc__)
+#if defined(__powerpc__) && defined(__altivec__)
&vdev_raidz_powerpc_altivec_impl,
#endif
};