raid6: test: only check for Altivec if building on powerpc hosts
authorWANG Xuerui <git@xen0n.name>
Mon, 31 Jul 2023 10:49:11 +0000 (18:49 +0800)
committerSong Liu <song@kernel.org>
Tue, 15 Aug 2023 16:40:27 +0000 (09:40 -0700)
commit7b3c70c43c13ad8e59f5561b154663d6bdb77021
tree6d9bcfec0dc3dd2158e000f928e6e13fed56b996
parent6601f5e122e5fdcea0fa5eaa54b88b02dbc9ec07
raid6: test: only check for Altivec if building on powerpc hosts

Altivec is only available for powerpc hosts, so only check for its
availability when the host is powerpc, to avoid error messages being
shown on architectures other than x86, arm or powerpc.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Link: https://lore.kernel.org/r/20230731104911.411964-6-kernel@xen0n.name
Signed-off-by: Song Liu <song@kernel.org>
lib/raid6/test/Makefile