powerpc: Remove unused postfix parameter to DEFINE_BITOP()
Subsystems (2)
PATCH 1/1 powerpc: Remove unused postfix parameter to DEFINE_BITOP()
None of the users of DEFINE_BITOP pass a postfix, and as far as I can tell none ever did, so drop it.
Signed-off-by Michael Ellerman <[email protected]>
--- arch/powerpc/include/asm/bitops.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
arch/powerpc/include/asm/bitops.h +5 -6
@@ -55,7 +55,7 @@#define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)/* Macro for generating the ***_bits() functions */ -#define DEFINE_BITOP (fn, op, prefix, postfix) \ +#define DEFINE_BITOP (fn, op, prefix) \ static __inline__ void fn(unsigned long mask, \ volatile unsigned long *_p) \ { \
@@ -68,16 +68,15 @@ static __inline__ void fn(unsigned long mask, \ PPC405_ERR77(0,%3) \PPC_STLCX "%0,0,%3\n" \"bne- 1b\n" \ - postfix \ : "=&r" (old), "+m" (*p) \: " r" (mask), " r" (p) \ : " cc", " memory"); \ } -DEFINE_BITOP(set_bits, or, "", "") -DEFINE_BITOP(clear_bits, andc, "", "") -DEFINE_BITOP(clear_bits_unlock, andc, PPC_RELEASE_BARRIER, "") -DEFINE_BITOP(change_bits, xor, "", "") +DEFINE_BITOP(set_bits, or, "") +DEFINE_BITOP(clear_bits, andc, "") +DEFINE_BITOP(clear_bits_unlock, andc, PPC_RELEASE_BARRIER) +DEFINE_BITOP(change_bits, xor, "")static __inline__void set_bit (int nr,volatile unsigned long *addr) {
Signature · 1 line
1.7.10.4