Fix typo in sync_constant_test_bit()'s name.
PATCH 1/1 Fix typo in sync_constant_test_bit()'s name.
Fix typo in sync_constant_test_bit()'s name, so sync_bitops.h is consistent with bitops.h
[ Linus, please apply. Thanks -J ]
Signed-off-by Jeremy Fitzhardinge <[email protected]>
Signed-off-by Chris Wright <[email protected]>
Acked-by Ingo Molnar <[email protected]>
--- include/asm-i386/sync_bitops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
===================================================================
include/asm-i386/sync_bitops.h +1 -1
@@ -130,7 +130,7 @@ static inline int sync_test_and_change_breturn oldbit; } -static __always_inline int sync_const_test_bit(int nr, const volatile unsigned long *addr) +static __always_inline int sync_constant_test_bit(int nr, const volatile unsigned long *addr) {return ((1UL << (nr &31 )) & (((const volatile unsigned int *)addr)[nr >>5 ])) !=0 ;