xref: /openbmc/linux/arch/um/include/asm/io.h (revision 6aa7de05)
1 #ifndef _ASM_UM_IO_H
2 #define _ASM_UM_IO_H
3 
4 #define ioremap ioremap
5 static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
6 {
7 	return (void __iomem *)(unsigned long)offset;
8 }
9 
10 #define iounmap iounmap
11 static inline void iounmap(void __iomem *addr)
12 {
13 }
14 
15 #include <asm-generic/io.h>
16 
17 #endif
18