4 #include <asm/page.h> /* for __va, __pa */
5 #ifdef CONFIG_ETRAX_ARCH_V10
8 #include <asm-generic/iomap.h>
9 #include <linux/kernel.h>
11 extern void __iomem
* __ioremap(unsigned long offset
, unsigned long size
, unsigned long flags
);
12 extern void __iomem
* __ioremap_prot(unsigned long phys_addr
, unsigned long size
, pgprot_t prot
);
14 static inline void __iomem
* ioremap (unsigned long offset
, unsigned long size
)
16 return __ioremap(offset
, size
, 0);
19 extern void iounmap(volatile void * __iomem addr
);
21 extern void __iomem
* ioremap_nocache(unsigned long offset
, unsigned long size
);
23 #include <asm-generic/io.h>