simd_stat: fix undefined CONFIG_KERNEL_MODE_NEON error on armel
commitacda137d8c160885542bcfd6fa9ef8fd650e95d2
authorShengqi Chen <harry-chen@outlook.com>
Mon, 16 Dec 2024 17:40:41 +0000 (17 01:40 +0800)
committerGitHub <noreply@github.com>
Mon, 16 Dec 2024 17:40:41 +0000 (16 09:40 -0800)
treedcebac3efc5cd5f82ce3de2ddf75ee256eec336f
parent22259fb24d6ef551d38ff19ceeb86c2da4ba6543
simd_stat: fix undefined CONFIG_KERNEL_MODE_NEON error on armel

CONFIG_KERNEL_MODE_NEON depends on CONFIG_NEON. Neither is defined
on armel. Add a guard to avoid compilation errors.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
Closes #16871
module/zcommon/simd_stat.c