diff options
author | Rich Ercolani <[email protected]> | 2022-05-25 12:18:49 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2022-05-25 09:18:49 -0700 |
commit | 3bbc26097e53c472084d978dd37343b07ed17e3c (patch) | |
tree | 696b5a988e12a9bc2c80ed00d7560be2910a7065 /include | |
parent | 82aa4f6f858549ba51d8afa207b179e4a3403d95 (diff) |
Unbreak zstd build on sparc64
It turns out that wrapping the atomic macro in () breaks build
on Linux/SPARC64. Oops.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes #13506
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/zstd/zstd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zstd/zstd.h b/include/sys/zstd/zstd.h index ec2341b76..d8c3fa86d 100644 --- a/include/sys/zstd/zstd.h +++ b/include/sys/zstd/zstd.h @@ -79,7 +79,7 @@ typedef struct zfs_zstd_meta { */ #define ZSTDSTAT(stat) (zstd_stats.stat.value.ui64) #define ZSTDSTAT_ZERO(stat) \ - (atomic_store_64(&zstd_stats.stat.value.ui64, 0)) + atomic_store_64(&zstd_stats.stat.value.ui64, 0) #define ZSTDSTAT_ADD(stat, val) \ atomic_add_64(&zstd_stats.stat.value.ui64, (val)) #define ZSTDSTAT_SUB(stat, val) \ |