x86: page.h: move remaining bits and pieces
[linux-2.6/linux-2.6-openrd.git] / include / asm-generic / bitops.h
blob15e6f253dda4090622d93c0d688e4350da4411ad
1 #ifndef _ASM_GENERIC_BITOPS_H_
2 #define _ASM_GENERIC_BITOPS_H_
4 /*
5 * For the benefit of those who are trying to port Linux to another
6 * architecture, here are some C-language equivalents. You should
7 * recode these in the native assembly language, if at all possible.
8 *
9 * C language equivalents written by Theodore Ts'o, 9/26/92
12 #include <asm-generic/bitops/atomic.h>
13 #include <asm-generic/bitops/non-atomic.h>
14 #include <asm-generic/bitops/__ffs.h>
15 #include <asm-generic/bitops/ffz.h>
16 #include <asm-generic/bitops/fls.h>
17 #include <asm-generic/bitops/fls64.h>
18 #include <asm-generic/bitops/find.h>
20 #ifdef __KERNEL__
22 #ifndef _LINUX_BITOPS_H
23 #error only <linux/bitops.h> can be included directly
24 #endif
26 #include <asm-generic/bitops/sched.h>
27 #include <asm-generic/bitops/ffs.h>
28 #include <asm-generic/bitops/hweight.h>
29 #include <asm-generic/bitops/lock.h>
31 #include <asm-generic/bitops/ext2-non-atomic.h>
32 #include <asm-generic/bitops/ext2-atomic.h>
33 #include <asm-generic/bitops/minix.h>
35 #endif /* __KERNEL__ */
37 #endif /* _ASM_GENERIC_BITOPS_H */