diff options
Diffstat (limited to 'module/icp/include/sys/bitmap.h')
-rw-r--r-- | module/icp/include/sys/bitmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/icp/include/sys/bitmap.h b/module/icp/include/sys/bitmap.h index b1f6823e6..4e86ee70e 100644 --- a/module/icp/include/sys/bitmap.h +++ b/module/icp/include/sys/bitmap.h @@ -157,9 +157,9 @@ extern int odd_parity(ulong_t); * to 0 otherwise. */ #define BT_ATOMIC_SET(bitmap, bitindex) \ - { atomic_or_long(&(BT_WIM(bitmap, bitindex)), BT_BIW(bitindex)); } + { atomic_or_ulong(&(BT_WIM(bitmap, bitindex)), BT_BIW(bitindex)); } #define BT_ATOMIC_CLEAR(bitmap, bitindex) \ - { atomic_and_long(&(BT_WIM(bitmap, bitindex)), ~BT_BIW(bitindex)); } + { atomic_and_ulong(&(BT_WIM(bitmap, bitindex)), ~BT_BIW(bitindex)); } #define BT_ATOMIC_SET_EXCL(bitmap, bitindex, result) \ { result = atomic_set_long_excl(&(BT_WIM(bitmap, bitindex)), \ |