Linux 4.13.16
[linux/fpc-iii.git] / arch / cris / include / asm / io.h
blobfe0b2a0ae03bbdf76e93158148d482f3780b40b4
1 #ifndef _ASM_CRIS_IO_H
2 #define _ASM_CRIS_IO_H
4 #include <asm/page.h> /* for __va, __pa */
5 #ifdef CONFIG_ETRAX_ARCH_V10
6 #include <arch/io.h>
7 #endif
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>
25 #endif