diff options
Diffstat (limited to 'module/zcommon/zfs_fletcher_avx512.c')
-rw-r--r-- | module/zcommon/zfs_fletcher_avx512.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zcommon/zfs_fletcher_avx512.c b/module/zcommon/zfs_fletcher_avx512.c index d33d2dc33..300ec4c1f 100644 --- a/module/zcommon/zfs_fletcher_avx512.c +++ b/module/zcommon/zfs_fletcher_avx512.c @@ -31,7 +31,9 @@ #include <sys/simd.h> #include <zfs_fletcher.h> +#ifdef __linux__ #define __asm __asm__ __volatile__ +#endif static void fletcher_4_avx512f_init(fletcher_4_ctx_t *ctx) |