summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Lobakin <aleksander.lobakin@intel.com>2024-03-27 16:23:41 +0100
committerDavid S. Miller <davem@davemloft.net>2024-04-01 10:49:27 +0100
commit72cc1980a0ef3ccad0d539e7dace63d0d7d432a4 (patch)
tree399dba38f3984c1c9dbb18356fbc03f23aab8257 /include
parentf3e28876b6e0b80cc35bf4a7bd854ce1035ea985 (diff)
downloadlinux-stable-72cc1980a0ef3ccad0d539e7dace63d0d7d432a4.tar.gz
linux-stable-72cc1980a0ef3ccad0d539e7dace63d0d7d432a4.tar.bz2
linux-stable-72cc1980a0ef3ccad0d539e7dace63d0d7d432a4.zip
bitops: add missing prototype check
Commit 8238b4579866 ("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: 8238b4579866 ("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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/bitops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bitops.h b/include/linux/bitops.h
index 2ba557e067fe..f7f5a783da2a 100644
--- a/include/linux/bitops.h
+++ b/include/linux/bitops.h
@@ -80,6 +80,7 @@ __check_bitop_pr(__test_and_set_bit);
__check_bitop_pr(__test_and_clear_bit);
__check_bitop_pr(__test_and_change_bit);
__check_bitop_pr(test_bit);
+__check_bitop_pr(test_bit_acquire);
#undef __check_bitop_pr