Fix build for Linux/powerpc without CONFIG_ALTIVEC or CONFIG_VSX
commit1f196e31079295320359bb04f3ee16a54563a330
authorLow-power <msl0000023508@gmail.com>
Tue, 7 Mar 2023 22:06:52 +0000 (8 06:06 +0800)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2023 22:06:52 +0000 (7 14:06 -0800)
tree2eafe60b144e908b84ee37f4d221df174a48f23e
parentb988f32c701760da8793f83f22f2043578e11b67
Fix build for Linux/powerpc without CONFIG_ALTIVEC or CONFIG_VSX

This fixes building ZFS for Linux 4.7+ powerpc* architecture, where
Linux was configured without CONFIG_ALTIVEC or CONFIG_VSX.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: WHR <msl0000023508@gmail.com>
Closes #14591
include/os/linux/kernel/linux/simd_powerpc.h