powerpc: Use asm-generic/bitops/le.h
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 4 Nov 2012 02:03:45 +0000 (02:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 02:01:10 +0000 (13:01 +1100)
commit79597be99ac96b1409eb7ae41c336696d7c4f4d9
tree5d4568262e08e2caf065e4ed4e5e7e9f708a6730
parent2237f4f40af9ab57d5427b35d1514d3e65d31d1a
powerpc: Use asm-generic/bitops/le.h

The only difference between powerpc and asm-generic le-bitops is
test_bit_le().  Usually all bitops require a long aligned bitmap.
But powerpc test_bit_le() can take an unaligned address.

There is no special callsite of test_bit_le() that needs unaligned
access in powerpc as far as I can see.  So convert to use
asm-generic/bitops/le.h for powerpc.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/bitops.h