summaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2017-12-01 22:31:31 +0100
committerPalmer Dabbelt <palmer@sifive.com>2017-12-01 22:31:31 +0100
commit3b62de26cf5ef17340a0e986d3e53eb4f74f96d5 (patch)
tree113b70a711d11fadb6f73d459a8d942f90e5e3fd /arch/riscv/mm
parentmove libgcc.h to include/linux (diff)
parentRISC-V: Add missing include (diff)
downloadlinux-3b62de26cf5ef17340a0e986d3e53eb4f74f96d5.tar.xz
linux-3b62de26cf5ef17340a0e986d3e53eb4f74f96d5.zip
RISC-V: Fixes for clean allmodconfig build
Olaf said: Here's a short series of patches that produces a working allmodconfig. Would be nice to see them go in so we can add build coverage. I've dropped patches 8 and 10 from the original set: * [PATCH 08/10] (RISC-V: Set __ARCH_WANT_RENAMEAT to pick up generic version) has a better fix that I've sent out for review, we don't want renameat. * [PATCH 10/10] (input: joystick: riscv has get_cycles) has already been taken into Dmitry Torokhov's tree.
Diffstat (limited to 'arch/riscv/mm')
-rw-r--r--arch/riscv/mm/ioremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/ioremap.c b/arch/riscv/mm/ioremap.c
index e99194a4077e..70ef2724cdf6 100644
--- a/arch/riscv/mm/ioremap.c
+++ b/arch/riscv/mm/ioremap.c
@@ -85,7 +85,7 @@ EXPORT_SYMBOL(ioremap);
*
* Caller must ensure there is only one unmapping for the same pointer.
*/
-void iounmap(void __iomem *addr)
+void iounmap(volatile void __iomem *addr)
{
vunmap((void *)((unsigned long)addr & PAGE_MASK));
}