projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a40480
)
powerpc: Remove unused BITOP_LE_SWIZZLE macro
author
Akinobu Mita
<
[email protected]
>
Sat, 2 Mar 2013 04:06:30 +0000
(
04:06
+0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Tue, 5 Mar 2013 05:56:28 +0000
(16:56 +1100)
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 <
[email protected]
>
Cc: Benjamin Herrenschmidt <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/include/asm/bitops.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/bitops.h
b/arch/powerpc/include/asm/bitops.h
index ef918a2328bba044173e61a799d23f8ae3cf2576..08bd299c75b113d1dd55ea827853bb616fdb5899 100644
(file)
--- a/
arch/powerpc/include/asm/bitops.h
+++ b/
arch/powerpc/include/asm/bitops.h
@@
-52,8
+52,6
@@
#define smp_mb__before_clear_bit() smp_mb()
#define smp_mb__after_clear_bit() smp_mb()
-#define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)
-
/* Macro for generating the ***_bits() functions */
#define DEFINE_BITOP(fn, op, prefix, postfix) \
static __inline__ void fn(unsigned long mask, \