diff options
Diffstat (limited to 'module/zfs/vdev_raidz_math_sse2.c')
-rw-r--r-- | module/zfs/vdev_raidz_math_sse2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/vdev_raidz_math_sse2.c b/module/zfs/vdev_raidz_math_sse2.c index 12d7bda01..56a0b123d 100644 --- a/module/zfs/vdev_raidz_math_sse2.c +++ b/module/zfs/vdev_raidz_math_sse2.c @@ -30,7 +30,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) |