provide arch_test_bit_acquire for architectures that define test_bit
Some architectures define their own arch_test_bit and they also need arch_test_bit_acquire, otherwise they won't compile. We also clean up the code by using the generic test_bit if that is equivalent to the arch-specific version. Signed-off-by:Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Fixes: 8238b457 ("wait_on_bit: add an acquire memory barrier") Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/alpha/include/asm/bitops.h 2 additions, 5 deletionsarch/alpha/include/asm/bitops.h
- arch/hexagon/include/asm/bitops.h 15 additions, 0 deletionsarch/hexagon/include/asm/bitops.h
- arch/ia64/include/asm/bitops.h 2 additions, 5 deletionsarch/ia64/include/asm/bitops.h
- arch/m68k/include/asm/bitops.h 2 additions, 5 deletionsarch/m68k/include/asm/bitops.h
- arch/s390/include/asm/bitops.h 2 additions, 8 deletionsarch/s390/include/asm/bitops.h
- arch/sh/include/asm/bitops-op32.h 2 additions, 10 deletionsarch/sh/include/asm/bitops-op32.h
Loading
Please register or sign in to comment