Skip to content

Commit ccc420a

Browse files
authored
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
1 parent ed7d224 commit ccc420a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

module/zcommon/simd_stat.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ kstat_t *simd_stat_kstat;
3838
#ifndef HAVE_KERNEL_FPU
3939
#define HAVE_KERNEL_FPU (0)
4040
#endif
41+
#ifndef HAVE_KERNEL_NEON
42+
#define HAVE_KERNEL_NEON (0)
43+
#endif
44+
#ifndef HAVE_KERNEL_FPU_INTERNAL
45+
#define HAVE_KERNEL_FPU_INTERNAL (0)
46+
#endif
4147
#ifndef HAVE_UNDERSCORE_KERNEL_FPU
4248
#define HAVE_UNDERSCORE_KERNEL_FPU (0)
4349
#endif

0 commit comments

Comments
 (0)