summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/lz4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/lz4.c b/module/zfs/lz4.c
index 6fc6201ee..df9637336 100644
--- a/module/zfs/lz4.c
+++ b/module/zfs/lz4.c
@@ -238,6 +238,9 @@ lz4_decompress_zfs(void *s_start, void *d_start, size_t s_len,
* kernel
*/
#undef LZ4_FORCE_SW_BITCOUNT
+#if defined(__sparc)
+#define LZ4_FORCE_SW_BITCOUNT
+#endif
/*
* Compiler Options