score: Add support for Sunplus S+core architecture
[linux-2.6.git] / arch / score / include / asm / bitops.h
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 */