minix-le.h 585 字节
Newer Older
1 2 3 4
#ifndef _ASM_GENERIC_BITOPS_MINIX_LE_H_
#define _ASM_GENERIC_BITOPS_MINIX_LE_H_

#define minix_test_and_set_bit(nr,addr)	\
5
	__test_and_set_bit_le((nr), (unsigned long *)(addr))
6
#define minix_set_bit(nr,addr)		\
7
	__set_bit_le((nr), (unsigned long *)(addr))
8
#define minix_test_and_clear_bit(nr,addr) \
9
	__test_and_clear_bit_le((nr), (unsigned long *)(addr))
10
#define minix_test_bit(nr,addr)		\
11
	test_bit_le((nr), (unsigned long *)(addr))
12
#define minix_find_first_zero_bit(addr,size) \
13
	find_first_zero_bit_le((unsigned long *)(addr), (size))
14 15

#endif /* _ASM_GENERIC_BITOPS_MINIX_LE_H_ */