Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Remove unused BITOP_LE_SWIZZLE macro

The BITOP_LE_SWIZZLE macro was used in the little-endian bitops functions
for powerpc. But these functions were converted to generic bitops and
the BITOP_LE_SWIZZLE is not used anymore.

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>

authored by

Akinobu Mita and committed by
Benjamin Herrenschmidt
a74f350b 6a404806

-2
-2
arch/powerpc/include/asm/bitops.h
··· 52 52 #define smp_mb__before_clear_bit() smp_mb() 53 53 #define smp_mb__after_clear_bit() smp_mb() 54 54 55 - #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) 56 - 57 55 /* Macro for generating the ***_bits() functions */ 58 56 #define DEFINE_BITOP(fn, op, prefix, postfix) \ 59 57 static __inline__ void fn(unsigned long mask, \