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 <behlendorf1@llnl.gov>
Reviewed-by: Shengqi Chen <harry-chen@outlook.com>
Signed-off-by: Sebastian Wuerl <s.wuerl@mailbox.org>
Closes openzfs#16558
  • Loading branch information
w0xel authored and tonyhutter committed Nov 5, 2024
1 parent 948704c commit b9658f9
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 b9658f9

Please sign in to comment.