wdenk | bf9e3b3 | 2004-02-12 00:47:09 +0000 | [diff] [blame] | 1 | /* |
| 2 | * bitops.h: Bit string operations on the m68k |
| 3 | */ |
| 4 | |
| 5 | #ifndef _M68K_BITOPS_H |
| 6 | #define _M68K_BITOPS_H |
| 7 | |
| 8 | #include <linux/config.h> |
| 9 | #include <asm/byteorder.h> |
| 10 | |
| 11 | extern void set_bit(int nr, volatile void *addr); |
| 12 | extern void clear_bit(int nr, volatile void *addr); |
| 13 | extern void change_bit(int nr, volatile void *addr); |
| 14 | extern int test_and_set_bit(int nr, volatile void *addr); |
| 15 | extern int test_and_clear_bit(int nr, volatile void *addr); |
| 16 | extern int test_and_change_bit(int nr, volatile void *addr); |
| 17 | |
| 18 | #endif /* _M68K_BITOPS_H */ |