Unbreak zstd build on sparc64
It turns out that wrapping the atomic macro in () breaks build on Linux/SPARC64. Oops. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes #13506
This commit is contained in:
parent
82aa4f6f85
commit
3bbc26097e
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user