Commit 72cc1980 authored by Alexander Lobakin's avatar Alexander Lobakin Committed by David S. Miller

bitops: add missing prototype check

Commit 8238b457 ("wait_on_bit: add an acquire memory barrier") added
a new bitop, test_bit_acquire(), with proper wrapping in order to try to
optimize it at compile-time, but missed the list of bitops used for
checking their prototypes a bit below.
The functions added have consistent prototypes, so that no more changes
are required and no functional changes take place.

Fixes: 8238b457 ("wait_on_bit: add an acquire memory barrier")
Reviewed-by: default avatarPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: default avatarAlexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3e28876
...@@ -80,6 +80,7 @@ __check_bitop_pr(__test_and_set_bit); ...@@ -80,6 +80,7 @@ __check_bitop_pr(__test_and_set_bit);
__check_bitop_pr(__test_and_clear_bit); __check_bitop_pr(__test_and_clear_bit);
__check_bitop_pr(__test_and_change_bit); __check_bitop_pr(__test_and_change_bit);
__check_bitop_pr(test_bit); __check_bitop_pr(test_bit);
__check_bitop_pr(test_bit_acquire);
#undef __check_bitop_pr #undef __check_bitop_pr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment