]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/asm-m68k/bitops.h
* Some code cleanup
[karo-tx-uboot.git] / include / asm-m68k / bitops.h
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 */