Merge tag 'rproc-v4.15' of git://github.com/andersson/remoteproc
[sfrench/cifs-2.6.git] / arch / cris / include / asm / io.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CRIS_IO_H
3 #define _ASM_CRIS_IO_H
4
5 #include <asm/page.h>   /* for __va, __pa */
6 #ifdef CONFIG_ETRAX_ARCH_V10
7 #include <arch/io.h>
8 #endif
9 #include <asm-generic/iomap.h>
10 #include <linux/kernel.h>
11
12 extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsigned long flags);
13 extern void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot);
14
15 static inline void __iomem * ioremap (unsigned long offset, unsigned long size)
16 {
17         return __ioremap(offset, size, 0);
18 }
19
20 extern void iounmap(volatile void * __iomem addr);
21
22 extern void __iomem * ioremap_nocache(unsigned long offset, unsigned long size);
23
24 #include <asm-generic/io.h>
25
26 #endif