diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/bitops.h | 7 | ||||
-rw-r--r-- | arch/avr32/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/blackfin/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/cris/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/frv/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/h8300/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/ia64/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/m32r/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/m68k/include/asm/bitops_mm.h | 7 | ||||
-rw-r--r-- | arch/m68k/include/asm/bitops_no.h | 7 | ||||
-rw-r--r-- | arch/mips/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/mn10300/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/parisc/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/powerpc/include/asm/bitops.h | 14 | ||||
-rw-r--r-- | arch/s390/include/asm/bitops.h | 7 | ||||
-rw-r--r-- | arch/sh/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/sparc/include/asm/bitops_32.h | 1 | ||||
-rw-r--r-- | arch/sparc/include/asm/bitops_64.h | 1 | ||||
-rw-r--r-- | arch/tile/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/x86/include/asm/bitops.h | 1 | ||||
-rw-r--r-- | arch/xtensa/include/asm/bitops.h | 1 |
22 files changed, 0 insertions, 59 deletions
diff --git a/arch/alpha/include/asm/bitops.h b/arch/alpha/include/asm/bitops.h index 955fec7cfeb8..822433a00c68 100644 --- a/arch/alpha/include/asm/bitops.h +++ b/arch/alpha/include/asm/bitops.h | |||
@@ -455,7 +455,6 @@ sched_find_first_bit(const unsigned long b[2]) | |||
455 | } | 455 | } |
456 | 456 | ||
457 | #include <asm-generic/bitops/le.h> | 457 | #include <asm-generic/bitops/le.h> |
458 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
459 | 458 | ||
460 | #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a) | 459 | #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a) |
461 | #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a) | 460 | #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a) |
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h index 0112005f3e9f..f68f1fb6b38e 100644 --- a/arch/arm/include/asm/bitops.h +++ b/arch/arm/include/asm/bitops.h | |||
@@ -339,18 +339,11 @@ static inline int find_next_bit_le(const void *p, int size, int offset) | |||
339 | 339 | ||
340 | /* | 340 | /* |
341 | * Ext2 is defined to use little-endian byte ordering. | 341 | * Ext2 is defined to use little-endian byte ordering. |
342 | * These do not need to be atomic. | ||
343 | */ | 342 | */ |
344 | #define ext2_set_bit __test_and_set_bit_le | ||
345 | #define ext2_set_bit_atomic(lock, nr, p) \ | 343 | #define ext2_set_bit_atomic(lock, nr, p) \ |
346 | test_and_set_bit_le(nr, p) | 344 | test_and_set_bit_le(nr, p) |
347 | #define ext2_clear_bit __test_and_clear_bit_le | ||
348 | #define ext2_clear_bit_atomic(lock, nr, p) \ | 345 | #define ext2_clear_bit_atomic(lock, nr, p) \ |
349 | test_and_clear_bit_le(nr, p) | 346 | test_and_clear_bit_le(nr, p) |
350 | #define ext2_test_bit test_bit_le | ||
351 | #define ext2_find_first_zero_bit find_first_zero_bit_le | ||
352 | #define ext2_find_next_zero_bit find_next_zero_bit_le | ||
353 | #define ext2_find_next_bit find_next_bit_le | ||
354 | 347 | ||
355 | /* | 348 | /* |
356 | * Minix is defined to use little-endian byte ordering. | 349 | * Minix is defined to use little-endian byte ordering. |
diff --git a/arch/avr32/include/asm/bitops.h b/arch/avr32/include/asm/bitops.h index 1c482fc9da78..73a163a71f12 100644 --- a/arch/avr32/include/asm/bitops.h +++ b/arch/avr32/include/asm/bitops.h | |||
@@ -300,7 +300,6 @@ static inline int ffs(unsigned long word) | |||
300 | #include <asm-generic/bitops/lock.h> | 300 | #include <asm-generic/bitops/lock.h> |
301 | 301 | ||
302 | #include <asm-generic/bitops/le.h> | 302 | #include <asm-generic/bitops/le.h> |
303 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
304 | #include <asm-generic/bitops/ext2-atomic.h> | 303 | #include <asm-generic/bitops/ext2-atomic.h> |
305 | #include <asm-generic/bitops/minix-le.h> | 304 | #include <asm-generic/bitops/minix-le.h> |
306 | 305 | ||
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index fe257cfec978..6a69690bd465 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <asm-generic/bitops/lock.h> | 26 | #include <asm-generic/bitops/lock.h> |
27 | 27 | ||
28 | #include <asm-generic/bitops/le.h> | 28 | #include <asm-generic/bitops/le.h> |
29 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
30 | #include <asm-generic/bitops/ext2-atomic.h> | 29 | #include <asm-generic/bitops/ext2-atomic.h> |
31 | #include <asm-generic/bitops/minix.h> | 30 | #include <asm-generic/bitops/minix.h> |
32 | 31 | ||
diff --git a/arch/cris/include/asm/bitops.h b/arch/cris/include/asm/bitops.h index 599ae6730bc8..71bea4032ebd 100644 --- a/arch/cris/include/asm/bitops.h +++ b/arch/cris/include/asm/bitops.h | |||
@@ -155,7 +155,6 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr) | |||
155 | #include <asm-generic/bitops/lock.h> | 155 | #include <asm-generic/bitops/lock.h> |
156 | 156 | ||
157 | #include <asm-generic/bitops/le.h> | 157 | #include <asm-generic/bitops/le.h> |
158 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
159 | 158 | ||
160 | #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a) | 159 | #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a) |
161 | #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a) | 160 | #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a) |
diff --git a/arch/frv/include/asm/bitops.h b/arch/frv/include/asm/bitops.h index 2631917c2be4..e3ea644108ce 100644 --- a/arch/frv/include/asm/bitops.h +++ b/arch/frv/include/asm/bitops.h | |||
@@ -402,7 +402,6 @@ int __ilog2_u64(u64 n) | |||
402 | #include <asm-generic/bitops/lock.h> | 402 | #include <asm-generic/bitops/lock.h> |
403 | 403 | ||
404 | #include <asm-generic/bitops/le.h> | 404 | #include <asm-generic/bitops/le.h> |
405 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
406 | 405 | ||
407 | #define ext2_set_bit_atomic(lock,nr,addr) test_and_set_bit ((nr) ^ 0x18, (addr)) | 406 | #define ext2_set_bit_atomic(lock,nr,addr) test_and_set_bit ((nr) ^ 0x18, (addr)) |
408 | #define ext2_clear_bit_atomic(lock,nr,addr) test_and_clear_bit((nr) ^ 0x18, (addr)) | 407 | #define ext2_clear_bit_atomic(lock,nr,addr) test_and_clear_bit((nr) ^ 0x18, (addr)) |
diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h index 763094fdd7c2..23cea6668980 100644 --- a/arch/h8300/include/asm/bitops.h +++ b/arch/h8300/include/asm/bitops.h | |||
@@ -201,7 +201,6 @@ static __inline__ unsigned long __ffs(unsigned long word) | |||
201 | #include <asm-generic/bitops/hweight.h> | 201 | #include <asm-generic/bitops/hweight.h> |
202 | #include <asm-generic/bitops/lock.h> | 202 | #include <asm-generic/bitops/lock.h> |
203 | #include <asm-generic/bitops/le.h> | 203 | #include <asm-generic/bitops/le.h> |
204 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
205 | #include <asm-generic/bitops/ext2-atomic.h> | 204 | #include <asm-generic/bitops/ext2-atomic.h> |
206 | #include <asm-generic/bitops/minix.h> | 205 | #include <asm-generic/bitops/minix.h> |
207 | 206 | ||
diff --git a/arch/ia64/include/asm/bitops.h b/arch/ia64/include/asm/bitops.h index 2cde4f0f1aab..336984acc8c0 100644 --- a/arch/ia64/include/asm/bitops.h +++ b/arch/ia64/include/asm/bitops.h | |||
@@ -457,7 +457,6 @@ static __inline__ unsigned long __arch_hweight64(unsigned long x) | |||
457 | #ifdef __KERNEL__ | 457 | #ifdef __KERNEL__ |
458 | 458 | ||
459 | #include <asm-generic/bitops/le.h> | 459 | #include <asm-generic/bitops/le.h> |
460 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
461 | 460 | ||
462 | #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a) | 461 | #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a) |
463 | #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a) | 462 | #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a) |
diff --git a/arch/m32r/include/asm/bitops.h b/arch/m32r/include/asm/bitops.h index 681f7e8e458e..cdfb4c82fb88 100644 --- a/arch/m32r/include/asm/bitops.h +++ b/arch/m32r/include/asm/bitops.h | |||
@@ -267,7 +267,6 @@ static __inline__ int test_and_change_bit(int nr, volatile void * addr) | |||
267 | #ifdef __KERNEL__ | 267 | #ifdef __KERNEL__ |
268 | 268 | ||
269 | #include <asm-generic/bitops/le.h> | 269 | #include <asm-generic/bitops/le.h> |
270 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
271 | #include <asm-generic/bitops/ext2-atomic.h> | 270 | #include <asm-generic/bitops/ext2-atomic.h> |
272 | #include <asm-generic/bitops/minix.h> | 271 | #include <asm-generic/bitops/minix.h> |
273 | 272 | ||
diff --git a/arch/m68k/include/asm/bitops_mm.h b/arch/m68k/include/asm/bitops_mm.h index d4658487defd..3d16871402ad 100644 --- a/arch/m68k/include/asm/bitops_mm.h +++ b/arch/m68k/include/asm/bitops_mm.h | |||
@@ -490,17 +490,10 @@ static inline unsigned long find_next_bit_le(const void *addr, | |||
490 | 490 | ||
491 | /* Bitmap functions for the ext2 filesystem. */ | 491 | /* Bitmap functions for the ext2 filesystem. */ |
492 | 492 | ||
493 | #define ext2_set_bit __test_and_set_bit_le | ||
494 | #define ext2_set_bit_atomic(lock, nr, addr) \ | 493 | #define ext2_set_bit_atomic(lock, nr, addr) \ |
495 | test_and_set_bit_le(nr, addr) | 494 | test_and_set_bit_le(nr, addr) |
496 | #define ext2_clear_bit __test_and_clear_bit_le | ||
497 | #define ext2_clear_bit_atomic(lock, nr, addr) \ | 495 | #define ext2_clear_bit_atomic(lock, nr, addr) \ |
498 | test_and_clear_bit_le(nr, addr) | 496 | test_and_clear_bit_le(nr, addr) |
499 | #define ext2_find_next_zero_bit find_next_zero_bit_le | ||
500 | #define ext2_find_next_bit find_next_bit_le | ||
501 | #define ext2_test_bit test_bit_le | ||
502 | #define ext2_find_first_zero_bit find_first_zero_bit_le | ||
503 | #define ext2_find_first_bit find_first_bit_le | ||
504 | 497 | ||
505 | #endif /* __KERNEL__ */ | 498 | #endif /* __KERNEL__ */ |
506 | 499 | ||
diff --git a/arch/m68k/include/asm/bitops_no.h b/arch/m68k/include/asm/bitops_no.h index 74b3f81f2e21..8db5fef8631f 100644 --- a/arch/m68k/include/asm/bitops_no.h +++ b/arch/m68k/include/asm/bitops_no.h | |||
@@ -336,13 +336,6 @@ found_middle: | |||
336 | return result + ffz(__swab32(tmp)); | 336 | return result + ffz(__swab32(tmp)); |
337 | } | 337 | } |
338 | 338 | ||
339 | #define ext2_set_bit __test_and_set_bit_le | ||
340 | #define ext2_clear_bit __test_and_clear_bit_le | ||
341 | #define ext2_test_bit test_bit_le | ||
342 | #define ext2_find_first_zero_bit find_first_zero_bit_le | ||
343 | #define ext2_find_next_zero_bit find_next_zero_bit_le | ||
344 | #define ext2_find_next_bit find_next_bit_le | ||
345 | |||
346 | #include <asm-generic/bitops/minix.h> | 339 | #include <asm-generic/bitops/minix.h> |
347 | 340 | ||
348 | #endif /* __KERNEL__ */ | 341 | #endif /* __KERNEL__ */ |
diff --git a/arch/mips/include/asm/bitops.h b/arch/mips/include/asm/bitops.h index ef420eb12222..e062718a3fea 100644 --- a/arch/mips/include/asm/bitops.h +++ b/arch/mips/include/asm/bitops.h | |||
@@ -677,7 +677,6 @@ static inline int ffs(int word) | |||
677 | #include <asm-generic/bitops/const_hweight.h> | 677 | #include <asm-generic/bitops/const_hweight.h> |
678 | 678 | ||
679 | #include <asm-generic/bitops/le.h> | 679 | #include <asm-generic/bitops/le.h> |
680 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
681 | #include <asm-generic/bitops/ext2-atomic.h> | 680 | #include <asm-generic/bitops/ext2-atomic.h> |
682 | #include <asm-generic/bitops/minix.h> | 681 | #include <asm-generic/bitops/minix.h> |
683 | 682 | ||
diff --git a/arch/mn10300/include/asm/bitops.h b/arch/mn10300/include/asm/bitops.h index 42b54539c388..a5f460cb834d 100644 --- a/arch/mn10300/include/asm/bitops.h +++ b/arch/mn10300/include/asm/bitops.h | |||
@@ -234,7 +234,6 @@ int ffs(int x) | |||
234 | test_and_clear_bit((nr), (addr)) | 234 | test_and_clear_bit((nr), (addr)) |
235 | 235 | ||
236 | #include <asm-generic/bitops/le.h> | 236 | #include <asm-generic/bitops/le.h> |
237 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
238 | #include <asm-generic/bitops/minix-le.h> | 237 | #include <asm-generic/bitops/minix-le.h> |
239 | 238 | ||
240 | #endif /* __KERNEL__ */ | 239 | #endif /* __KERNEL__ */ |
diff --git a/arch/parisc/include/asm/bitops.h b/arch/parisc/include/asm/bitops.h index 4b9e58debb18..919d7ed155e0 100644 --- a/arch/parisc/include/asm/bitops.h +++ b/arch/parisc/include/asm/bitops.h | |||
@@ -223,7 +223,6 @@ static __inline__ int fls(int x) | |||
223 | #ifdef __KERNEL__ | 223 | #ifdef __KERNEL__ |
224 | 224 | ||
225 | #include <asm-generic/bitops/le.h> | 225 | #include <asm-generic/bitops/le.h> |
226 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
227 | 226 | ||
228 | /* '3' is bits per byte */ | 227 | /* '3' is bits per byte */ |
229 | #define LE_BYTE_ADDR ((sizeof(unsigned long) - 1) << 3) | 228 | #define LE_BYTE_ADDR ((sizeof(unsigned long) - 1) << 3) |
diff --git a/arch/powerpc/include/asm/bitops.h b/arch/powerpc/include/asm/bitops.h index 0c1046fbdd24..e3bd9a3bcb43 100644 --- a/arch/powerpc/include/asm/bitops.h +++ b/arch/powerpc/include/asm/bitops.h | |||
@@ -327,25 +327,11 @@ unsigned long find_next_bit_le(const void *addr, | |||
327 | unsigned long size, unsigned long offset); | 327 | unsigned long size, unsigned long offset); |
328 | /* Bitmap functions for the ext2 filesystem */ | 328 | /* Bitmap functions for the ext2 filesystem */ |
329 | 329 | ||
330 | #define ext2_set_bit(nr,addr) \ | ||
331 | __test_and_set_bit_le((nr), (unsigned long*)addr) | ||
332 | #define ext2_clear_bit(nr, addr) \ | ||
333 | __test_and_clear_bit_le((nr), (unsigned long*)addr) | ||
334 | |||
335 | #define ext2_set_bit_atomic(lock, nr, addr) \ | 330 | #define ext2_set_bit_atomic(lock, nr, addr) \ |
336 | test_and_set_bit_le((nr), (unsigned long*)addr) | 331 | test_and_set_bit_le((nr), (unsigned long*)addr) |
337 | #define ext2_clear_bit_atomic(lock, nr, addr) \ | 332 | #define ext2_clear_bit_atomic(lock, nr, addr) \ |
338 | test_and_clear_bit_le((nr), (unsigned long*)addr) | 333 | test_and_clear_bit_le((nr), (unsigned long*)addr) |
339 | 334 | ||
340 | #define ext2_test_bit(nr, addr) test_bit_le((nr),(unsigned long*)addr) | ||
341 | |||
342 | #define ext2_find_first_zero_bit(addr, size) \ | ||
343 | find_first_zero_bit_le((unsigned long*)addr, size) | ||
344 | #define ext2_find_next_zero_bit(addr, size, off) \ | ||
345 | find_next_zero_bit_le((unsigned long *)addr, size, off) | ||
346 | |||
347 | #define ext2_find_next_bit(addr, size, off) \ | ||
348 | find_next_bit_le((unsigned long *)addr, size, off) | ||
349 | /* Bitmap functions for the minix filesystem. */ | 335 | /* Bitmap functions for the minix filesystem. */ |
350 | 336 | ||
351 | #define minix_test_and_set_bit(nr,addr) \ | 337 | #define minix_test_and_set_bit(nr,addr) \ |
diff --git a/arch/s390/include/asm/bitops.h b/arch/s390/include/asm/bitops.h index f48f9644e4b5..2dd32bba47ee 100644 --- a/arch/s390/include/asm/bitops.h +++ b/arch/s390/include/asm/bitops.h | |||
@@ -857,17 +857,10 @@ static inline int find_next_bit_le(void *vaddr, unsigned long size, | |||
857 | return offset + find_first_bit_le(p, size); | 857 | return offset + find_first_bit_le(p, size); |
858 | } | 858 | } |
859 | 859 | ||
860 | #define ext2_set_bit __test_and_set_bit_le | ||
861 | #define ext2_set_bit_atomic(lock, nr, addr) \ | 860 | #define ext2_set_bit_atomic(lock, nr, addr) \ |
862 | test_and_set_bit_le(nr, addr) | 861 | test_and_set_bit_le(nr, addr) |
863 | #define ext2_clear_bit __test_and_clear_bit_le | ||
864 | #define ext2_clear_bit_atomic(lock, nr, addr) \ | 862 | #define ext2_clear_bit_atomic(lock, nr, addr) \ |
865 | test_and_clear_bit_le(nr, addr) | 863 | test_and_clear_bit_le(nr, addr) |
866 | #define ext2_test_bit test_bit_le | ||
867 | #define ext2_find_first_zero_bit find_first_zero_bit_le | ||
868 | #define ext2_find_next_zero_bit find_next_zero_bit_le | ||
869 | #define ext2_find_first_bit find_first_bit_le | ||
870 | #define ext2_find_next_bit find_next_bit_le | ||
871 | 864 | ||
872 | #include <asm-generic/bitops/minix.h> | 865 | #include <asm-generic/bitops/minix.h> |
873 | 866 | ||
diff --git a/arch/sh/include/asm/bitops.h b/arch/sh/include/asm/bitops.h index 9167810c57bd..fc5cd5b9b446 100644 --- a/arch/sh/include/asm/bitops.h +++ b/arch/sh/include/asm/bitops.h | |||
@@ -95,7 +95,6 @@ static inline unsigned long ffz(unsigned long word) | |||
95 | #include <asm-generic/bitops/lock.h> | 95 | #include <asm-generic/bitops/lock.h> |
96 | #include <asm-generic/bitops/sched.h> | 96 | #include <asm-generic/bitops/sched.h> |
97 | #include <asm-generic/bitops/le.h> | 97 | #include <asm-generic/bitops/le.h> |
98 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
99 | #include <asm-generic/bitops/ext2-atomic.h> | 98 | #include <asm-generic/bitops/ext2-atomic.h> |
100 | #include <asm-generic/bitops/minix.h> | 99 | #include <asm-generic/bitops/minix.h> |
101 | #include <asm-generic/bitops/fls.h> | 100 | #include <asm-generic/bitops/fls.h> |
diff --git a/arch/sparc/include/asm/bitops_32.h b/arch/sparc/include/asm/bitops_32.h index 5b3ab0646587..75da6f82a12e 100644 --- a/arch/sparc/include/asm/bitops_32.h +++ b/arch/sparc/include/asm/bitops_32.h | |||
@@ -104,7 +104,6 @@ static inline void change_bit(unsigned long nr, volatile unsigned long *addr) | |||
104 | #include <asm-generic/bitops/lock.h> | 104 | #include <asm-generic/bitops/lock.h> |
105 | #include <asm-generic/bitops/find.h> | 105 | #include <asm-generic/bitops/find.h> |
106 | #include <asm-generic/bitops/le.h> | 106 | #include <asm-generic/bitops/le.h> |
107 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
108 | #include <asm-generic/bitops/ext2-atomic.h> | 107 | #include <asm-generic/bitops/ext2-atomic.h> |
109 | #include <asm-generic/bitops/minix.h> | 108 | #include <asm-generic/bitops/minix.h> |
110 | 109 | ||
diff --git a/arch/sparc/include/asm/bitops_64.h b/arch/sparc/include/asm/bitops_64.h index 9097862faaad..66db28e6bbf5 100644 --- a/arch/sparc/include/asm/bitops_64.h +++ b/arch/sparc/include/asm/bitops_64.h | |||
@@ -90,7 +90,6 @@ static inline unsigned int __arch_hweight8(unsigned int w) | |||
90 | #ifdef __KERNEL__ | 90 | #ifdef __KERNEL__ |
91 | 91 | ||
92 | #include <asm-generic/bitops/le.h> | 92 | #include <asm-generic/bitops/le.h> |
93 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
94 | 93 | ||
95 | #define ext2_set_bit_atomic(lock,nr,addr) \ | 94 | #define ext2_set_bit_atomic(lock,nr,addr) \ |
96 | test_and_set_bit((nr) ^ 0x38,(unsigned long *)(addr)) | 95 | test_and_set_bit((nr) ^ 0x38,(unsigned long *)(addr)) |
diff --git a/arch/tile/include/asm/bitops.h b/arch/tile/include/asm/bitops.h index 56b03553ad06..5447addafca4 100644 --- a/arch/tile/include/asm/bitops.h +++ b/arch/tile/include/asm/bitops.h | |||
@@ -123,7 +123,6 @@ static inline unsigned long __arch_hweight64(__u64 w) | |||
123 | #include <asm-generic/bitops/find.h> | 123 | #include <asm-generic/bitops/find.h> |
124 | #include <asm-generic/bitops/sched.h> | 124 | #include <asm-generic/bitops/sched.h> |
125 | #include <asm-generic/bitops/le.h> | 125 | #include <asm-generic/bitops/le.h> |
126 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
127 | #include <asm-generic/bitops/minix.h> | 126 | #include <asm-generic/bitops/minix.h> |
128 | 127 | ||
129 | #endif /* _ASM_TILE_BITOPS_H */ | 128 | #endif /* _ASM_TILE_BITOPS_H */ |
diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h index c68bc101441d..3c95e072c179 100644 --- a/arch/x86/include/asm/bitops.h +++ b/arch/x86/include/asm/bitops.h | |||
@@ -457,7 +457,6 @@ static inline int fls(int x) | |||
457 | #ifdef __KERNEL__ | 457 | #ifdef __KERNEL__ |
458 | 458 | ||
459 | #include <asm-generic/bitops/le.h> | 459 | #include <asm-generic/bitops/le.h> |
460 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
461 | 460 | ||
462 | #define ext2_set_bit_atomic(lock, nr, addr) \ | 461 | #define ext2_set_bit_atomic(lock, nr, addr) \ |
463 | test_and_set_bit((nr), (unsigned long *)(addr)) | 462 | test_and_set_bit((nr), (unsigned long *)(addr)) |
diff --git a/arch/xtensa/include/asm/bitops.h b/arch/xtensa/include/asm/bitops.h index 0475c11bfde2..a56b7b577f09 100644 --- a/arch/xtensa/include/asm/bitops.h +++ b/arch/xtensa/include/asm/bitops.h | |||
@@ -107,7 +107,6 @@ static inline unsigned long __fls(unsigned long word) | |||
107 | #include <asm-generic/bitops/fls64.h> | 107 | #include <asm-generic/bitops/fls64.h> |
108 | #include <asm-generic/bitops/find.h> | 108 | #include <asm-generic/bitops/find.h> |
109 | #include <asm-generic/bitops/le.h> | 109 | #include <asm-generic/bitops/le.h> |
110 | #include <asm-generic/bitops/ext2-non-atomic.h> | ||
111 | 110 | ||
112 | #ifdef __XTENSA_EL__ | 111 | #ifdef __XTENSA_EL__ |
113 | # define ext2_set_bit_atomic(lock,nr,addr) \ | 112 | # define ext2_set_bit_atomic(lock,nr,addr) \ |