Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-generic / bitops / minix.h
blob91f42e87aa51f27f257cd490b5f89c4376d9e9fb
1 #ifndef _ASM_GENERIC_BITOPS_MINIX_H_
2 #define _ASM_GENERIC_BITOPS_MINIX_H_
4 #define minix_test_and_set_bit(nr,addr) \
5 __test_and_set_bit((nr),(unsigned long *)(addr))
6 #define minix_set_bit(nr,addr) \
7 __set_bit((nr),(unsigned long *)(addr))
8 #define minix_test_and_clear_bit(nr,addr) \
9 __test_and_clear_bit((nr),(unsigned long *)(addr))
10 #define minix_test_bit(nr,addr) \
11 test_bit((nr),(unsigned long *)(addr))
12 #define minix_find_first_zero_bit(addr,size) \
13 find_first_zero_bit((unsigned long *)(addr),(size))
15 #endif /* _ASM_GENERIC_BITOPS_MINIX_H_ */