]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/cris/include/asm/io.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / cris / include / asm / io.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _ASM_CRIS_IO_H
3#define _ASM_CRIS_IO_H
4
5#include <asm/page.h> /* for __va, __pa */
ab28e96f 6#ifdef CONFIG_ETRAX_ARCH_V10
556dcee7 7#include <arch/io.h>
ab28e96f 8#endif
72a0c557 9#include <asm-generic/iomap.h>
59c61138
MS
10#include <linux/kernel.h>
11
59c61138
MS
12extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsigned long flags);
13extern void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot);
1da177e4 14
d9b5444e 15static inline void __iomem * ioremap (unsigned long offset, unsigned long size)
1da177e4
LT
16{
17 return __ioremap(offset, size, 0);
18}
19
59c61138
MS
20extern void iounmap(volatile void * __iomem addr);
21
22extern void __iomem * ioremap_nocache(unsigned long offset, unsigned long size);
1da177e4 23
4c241d3c 24#include <asm-generic/io.h>
1da177e4
LT
25
26#endif