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