Skip to content

Commit

Permalink
[PATCH] i386: fix typo in sync_constant_test_bit()'s name
Browse files Browse the repository at this point in the history
Fix typo in sync_constant_test_bit()'s name, so sync_bitops.h is consistent
with bitops.h

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jeremy Fitzhardinge authored and Linus Torvalds committed Mar 17, 2007
1 parent 6c912a3 commit 014efb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-i386/sync_bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ static inline int sync_test_and_change_bit(int nr, volatile unsigned long* addr)
return 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;
Expand Down

0 comments on commit 014efb1

Please sign in to comment.