From ccc420acd5452ca6fffe3797ea7da5a5f1a64d2b Mon Sep 17 00:00:00 2001 From: w0xel Date: Tue, 24 Sep 2024 18:07:26 +0200 Subject: [PATCH] Add missing guard defines for simd_stat This adds the HAVE_KERNEL_NEON and HAVE_KERNEL_FPU_INTERNAL guards to simd_stat.c defaulted to 0 to make it build again. Reviewed-by: Brian Behlendorf Reviewed-by: Shengqi Chen Signed-off-by: Sebastian Wuerl Closes #16558 --- module/zcommon/simd_stat.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/zcommon/simd_stat.c b/module/zcommon/simd_stat.c index f2d100d84..33c15140c 100644 --- a/module/zcommon/simd_stat.c +++ b/module/zcommon/simd_stat.c @@ -38,6 +38,12 @@ kstat_t *simd_stat_kstat; #ifndef HAVE_KERNEL_FPU #define HAVE_KERNEL_FPU (0) #endif +#ifndef HAVE_KERNEL_NEON +#define HAVE_KERNEL_NEON (0) +#endif +#ifndef HAVE_KERNEL_FPU_INTERNAL +#define HAVE_KERNEL_FPU_INTERNAL (0) +#endif #ifndef HAVE_UNDERSCORE_KERNEL_FPU #define HAVE_UNDERSCORE_KERNEL_FPU (0) #endif