| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_GENERIC_BITOPS_H_ | 
 | 2 | #define _ASM_GENERIC_BITOPS_H_ | 
 | 3 |  | 
 | 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. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 |  *  | 
 | 9 |  * C language equivalents written by Theodore Ts'o, 9/26/92 | 
 | 10 |  */ | 
 | 11 |  | 
| Akinobu Mita | f51a05c | 2006-03-26 01:39:50 -0800 | [diff] [blame] | 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> | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 |  | 
| Jiri Slaby | 0624517 | 2007-10-18 23:40:26 -0700 | [diff] [blame] | 20 | #ifndef _LINUX_BITOPS_H | 
 | 21 | #error only <linux/bitops.h> can be included directly | 
 | 22 | #endif | 
 | 23 |  | 
| Akinobu Mita | f51a05c | 2006-03-26 01:39:50 -0800 | [diff] [blame] | 24 | #include <asm-generic/bitops/sched.h> | 
 | 25 | #include <asm-generic/bitops/ffs.h> | 
 | 26 | #include <asm-generic/bitops/hweight.h> | 
| Nick Piggin | 2633357 | 2007-10-18 03:06:39 -0700 | [diff] [blame] | 27 | #include <asm-generic/bitops/lock.h> | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 |  | 
| Akinobu Mita | f51a05c | 2006-03-26 01:39:50 -0800 | [diff] [blame] | 29 | #include <asm-generic/bitops/ext2-non-atomic.h> | 
 | 30 | #include <asm-generic/bitops/ext2-atomic.h> | 
 | 31 | #include <asm-generic/bitops/minix.h> | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | #endif /* _ASM_GENERIC_BITOPS_H */ |