Skip to content

Commit

Permalink
Add missing guard defines for simd_stat
Browse files Browse the repository at this point in the history
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
  • Loading branch information
w0xel authored Sep 24, 2024
1 parent ed7d224 commit ccc420a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions module/zcommon/simd_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccc420a

Please sign in to comment.