diff options
Diffstat (limited to 'arch/blackfin/include/asm/bitops.h')
-rw-r--r-- | arch/blackfin/include/asm/bitops.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index 3f7ef4d97791..8a0fed16058f 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h | |||
@@ -25,9 +25,7 @@ | |||
25 | #include <asm-generic/bitops/const_hweight.h> | 25 | #include <asm-generic/bitops/const_hweight.h> |
26 | #include <asm-generic/bitops/lock.h> | 26 | #include <asm-generic/bitops/lock.h> |
27 | 27 | ||
28 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
29 | #include <asm-generic/bitops/ext2-atomic.h> | 28 | #include <asm-generic/bitops/ext2-atomic.h> |
30 | #include <asm-generic/bitops/minix.h> | ||
31 | 29 | ||
32 | #ifndef CONFIG_SMP | 30 | #ifndef CONFIG_SMP |
33 | #include <linux/irqflags.h> | 31 | #include <linux/irqflags.h> |
@@ -108,10 +106,15 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr) | |||
108 | #define smp_mb__before_clear_bit() barrier() | 106 | #define smp_mb__before_clear_bit() barrier() |
109 | #define smp_mb__after_clear_bit() barrier() | 107 | #define smp_mb__after_clear_bit() barrier() |
110 | 108 | ||
109 | #define test_bit __skip_test_bit | ||
111 | #include <asm-generic/bitops/non-atomic.h> | 110 | #include <asm-generic/bitops/non-atomic.h> |
111 | #undef test_bit | ||
112 | 112 | ||
113 | #endif /* CONFIG_SMP */ | 113 | #endif /* CONFIG_SMP */ |
114 | 114 | ||
115 | /* Needs to be after test_bit and friends */ | ||
116 | #include <asm-generic/bitops/le.h> | ||
117 | |||
115 | /* | 118 | /* |
116 | * hweightN: returns the hamming weight (i.e. the number | 119 | * hweightN: returns the hamming weight (i.e. the number |
117 | * of bits set) of a N-bit word | 120 | * of bits set) of a N-bit word |