summaryrefslogtreecommitdiff
path: root/arch/riscv/mm
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2017-12-02 00:31:31 +0300
committerPalmer Dabbelt <palmer@sifive.com>2017-12-02 00:31:31 +0300
commit3b62de26cf5ef17340a0e986d3e53eb4f74f96d5 (patch)
tree113b70a711d11fadb6f73d459a8d942f90e5e3fd /arch/riscv/mm
parent185e788c84a95cb024cff98988bdeb09e619cd62 (diff)
parent741fc3ff3a49509a7092d6d9eb51da6bd7577278 (diff)
downloadlinux-3b62de26cf5ef17340a0e986d3e53eb4f74f96d5.tar.xz
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));
}