ia64/linux-2.6.18-xen.hg

view include/asm-generic/bitops/ext2-non-atomic.h @ 782:9ab1c319531f

merge with linux-2.6.18-xen.hg
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 28 13:07:23 2009 +0900 (2009-01-28)
parents 831230e53067
children
line source
1 #ifndef _ASM_GENERIC_BITOPS_EXT2_NON_ATOMIC_H_
2 #define _ASM_GENERIC_BITOPS_EXT2_NON_ATOMIC_H_
4 #include <asm-generic/bitops/le.h>
6 #define ext2_set_bit(nr,addr) \
7 generic___test_and_set_le_bit((nr),(unsigned long *)(addr))
8 #define ext2_clear_bit(nr,addr) \
9 generic___test_and_clear_le_bit((nr),(unsigned long *)(addr))
11 #define ext2_test_bit(nr,addr) \
12 generic_test_le_bit((nr),(unsigned long *)(addr))
13 #define ext2_find_first_zero_bit(addr, size) \
14 generic_find_first_zero_le_bit((unsigned long *)(addr), (size))
15 #define ext2_find_next_zero_bit(addr, size, off) \
16 generic_find_next_zero_le_bit((unsigned long *)(addr), (size), (off))
18 #endif /* _ASM_GENERIC_BITOPS_EXT2_NON_ATOMIC_H_ */