diff options
author | Christoph Hellwig <hch@lst.de> | 2018-01-04 18:35:02 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2018-01-07 15:14:39 -0800 |
commit | c163fb38ca34694b0cce99bb5604257bc29bf200 (patch) | |
tree | d15bb5e17696cfdd7237a58aa4476cbffa6b2726 /arch/riscv/include/asm/io.h | |
parent | 9e49a4ed072ab67b17238c5a45d7cba7f848659e (diff) | |
download | linux-next-c163fb38ca34694b0cce99bb5604257bc29bf200.tar.gz |
riscv: remove CONFIG_MMU ifdefs
The RISC-V port doesn't suport a nommu mode, so there is no reason
to provide some code only under a CONFIG_MMU ifdef.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/include/asm/io.h')
-rw-r--r-- | arch/riscv/include/asm/io.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/riscv/include/asm/io.h b/arch/riscv/include/asm/io.h index a82ce599b639..b269451e7e85 100644 --- a/arch/riscv/include/asm/io.h +++ b/arch/riscv/include/asm/io.h @@ -21,8 +21,6 @@ #include <linux/types.h> -#ifdef CONFIG_MMU - extern void __iomem *ioremap(phys_addr_t offset, unsigned long size); /* @@ -36,8 +34,6 @@ extern void __iomem *ioremap(phys_addr_t offset, unsigned long size); extern void iounmap(volatile void __iomem *addr); -#endif /* CONFIG_MMU */ - /* Generic IO read/write. These perform native-endian accesses. */ #define __raw_writeb __raw_writeb static inline void __raw_writeb(u8 val, volatile void __iomem *addr) |