Chen Liqin | 6bc9a39 | 2009-06-12 22:01:00 +0800 | [diff] [blame] | 1 | #ifndef _ASM_SCORE_BITOPS_H |
2 | #define _ASM_SCORE_BITOPS_H | ||||
3 | |||||
4 | #include <asm/byteorder.h> /* swab32 */ | ||||
5 | #include <asm/system.h> /* save_flags */ | ||||
6 | |||||
7 | /* | ||||
8 | * clear_bit() doesn't provide any barrier for the compiler. | ||||
9 | */ | ||||
10 | #define smp_mb__before_clear_bit() barrier() | ||||
11 | #define smp_mb__after_clear_bit() barrier() | ||||
12 | |||||
13 | #include <asm-generic/bitops.h> | ||||
14 | #include <asm-generic/bitops/__fls.h> | ||||
15 | |||||
16 | #endif /* _ASM_SCORE_BITOPS_H */ |