io.h 393 B

12345678910111213141516171819202122
  1. /*
  2. * arch/arm/mach-ep93xx/include/mach/io.h
  3. */
  4. #ifndef __ASM_MACH_IO_H
  5. #define __ASM_MACH_IO_H
  6. #define IO_SPACE_LIMIT 0xffffffff
  7. #define __io(p) __typesafe_io(p)
  8. #define __mem_pci(p) (p)
  9. /*
  10. * A typesafe __io() variation for variable initialisers
  11. */
  12. #ifdef __ASSEMBLER__
  13. #define IOMEM(p) p
  14. #else
  15. #define IOMEM(p) ((void __iomem __force *)(p))
  16. #endif
  17. #endif /* __ASM_MACH_IO_H */