diff options
author | w0xel <[email protected]> | 2024-09-24 18:07:26 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-24 09:07:26 -0700 |
commit | ccc420acd5452ca6fffe3797ea7da5a5f1a64d2b (patch) | |
tree | 7cc1bdf6ee77206a89bbbad4783b15b3e1ba20dd /module/zcommon | |
parent | ed7d224ee16d02e8dc82ae7eca23a2d750e3867c (diff) |
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 <[email protected]>
Reviewed-by: Shengqi Chen <[email protected]>
Signed-off-by: Sebastian Wuerl <[email protected]>
Closes #16558
Diffstat (limited to 'module/zcommon')
-rw-r--r-- | module/zcommon/simd_stat.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |