mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
bitops: add missing prototype check
Commit8238b45798
("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:8238b45798
("wait_on_bit: add an acquire memory barrier") Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f3e28876b6
commit
72cc1980a0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue