bitops.h 932 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _ASM_GENERIC_BITOPS_H_
  2. #define _ASM_GENERIC_BITOPS_H_
  3. /*
  4. * For the benefit of those who are trying to port Linux to another
  5. * architecture, here are some C-language equivalents. You should
  6. * recode these in the native assembly language, if at all possible.
  7. *
  8. * C language equivalents written by Theodore Ts'o, 9/26/92
  9. */
  10. #include <asm-generic/bitops/atomic.h>
  11. #include <asm-generic/bitops/non-atomic.h>
  12. #include <asm-generic/bitops/__ffs.h>
  13. #include <asm-generic/bitops/ffz.h>
  14. #include <asm-generic/bitops/fls.h>
  15. #include <asm-generic/bitops/fls64.h>
  16. #include <asm-generic/bitops/find.h>
  17. #ifdef __KERNEL__
  18. #include <asm-generic/bitops/sched.h>
  19. #include <asm-generic/bitops/ffs.h>
  20. #include <asm-generic/bitops/hweight.h>
  21. #include <asm-generic/bitops/ext2-non-atomic.h>
  22. #include <asm-generic/bitops/ext2-atomic.h>
  23. #include <asm-generic/bitops/minix.h>
  24. #endif /* __KERNEL__ */
  25. #endif /* _ASM_GENERIC_BITOPS_H */