Nobuhiro Iwamatsu | 970dc33 | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 1 | #ifndef __ASM_SH_BITOPS_H_ |
| 2 | #define __ASM_SH_BITOPS_H_ |
| 3 | |
| 4 | extern void set_bit(int nr, volatile void * a); |
| 5 | extern void clear_bit(int nr, volatile void * a); |
| 6 | extern int test_and_clear_bit(int nr, volatile void * a); |
| 7 | extern void change_bit(unsigned long nr, volatile void *addr); |
| 8 | extern int test_and_set_bit(int nr, volatile void * a); |
| 9 | extern int test_and_change_bit(int nr, volatile void * addr); |
| 10 | extern int test_bit(int nr, volatile void * a); |
| 11 | extern int ffs(int i); |
| 12 | |
| 13 | #endif |