types.h 490 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _ASM_M32R_TYPES_H
  2. #define _ASM_M32R_TYPES_H
  3. #include <asm-generic/int-ll64.h>
  4. #ifndef __ASSEMBLY__
  5. typedef unsigned short umode_t;
  6. #endif /* __ASSEMBLY__ */
  7. /*
  8. * These aren't exported outside the kernel to avoid name space clashes
  9. */
  10. #ifdef __KERNEL__
  11. #define BITS_PER_LONG 32
  12. #ifndef __ASSEMBLY__
  13. /* DMA addresses are 32-bits wide. */
  14. typedef u32 dma_addr_t;
  15. typedef u64 dma64_addr_t;
  16. #endif /* __ASSEMBLY__ */
  17. #endif /* __KERNEL__ */
  18. #endif /* _ASM_M32R_TYPES_H */