diff options
Diffstat (limited to 'module/zfs/vdev_raidz_math_avx512f.c')
-rw-r--r-- | module/zfs/vdev_raidz_math_avx512f.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/vdev_raidz_math_avx512f.c b/module/zfs/vdev_raidz_math_avx512f.c index b89e18c0c..aab653b77 100644 --- a/module/zfs/vdev_raidz_math_avx512f.c +++ b/module/zfs/vdev_raidz_math_avx512f.c @@ -31,7 +31,9 @@ #include <sys/simd.h> #include <sys/debug.h> +#ifdef __linux__ #define __asm __asm__ __volatile__ +#endif #define _REG_CNT(_0, _1, _2, _3, _4, _5, _6, _7, N, ...) N #define REG_CNT(r...) _REG_CNT(r, 8, 7, 6, 5, 4, 3, 2, 1) |