aboutsummaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorGravatar Geert Uytterhoeven <geert+renesas@glider.be> 2024-03-01 22:02:24 +0100
committerGravatar John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> 2024-05-02 12:01:24 +0200
commit0a842003671828f0a8cc37ec2cb5c199ba820e61 (patch)
tree2a62eaa49b1ea06b721ef30ff2c2081c2b4bd3dc /arch/sh
parentsh: ftrace: Fix missing prototypes (diff)
downloadlinux-0a842003671828f0a8cc37ec2cb5c199ba820e61.tar.gz
linux-0a842003671828f0a8cc37ec2cb5c199ba820e61.tar.bz2
linux-0a842003671828f0a8cc37ec2cb5c199ba820e61.zip
sh: nommu: Add missing #include <asm/cacheflush.h>
arch/sh/mm/nommu.c:76:13: warning: no previous prototype for 'kmap_coherent_init' [-Wmissing-prototypes] arch/sh/mm/nommu.c:80:7: warning: no previous prototype for 'kmap_coherent' [-Wmissing-prototypes] arch/sh/mm/nommu.c:86:6: warning: no previous prototype for 'kunmap_coherent' [-Wmissing-prototypes] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Link: https://lore.kernel.org/r/d4b2a43fcedddee3d27cfd87ff2e0bf511588aa0.1709326528.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/mm/nommu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/mm/nommu.c b/arch/sh/mm/nommu.c
index 78c4b6e6d33b..fa3dc9428a73 100644
--- a/arch/sh/mm/nommu.c
+++ b/arch/sh/mm/nommu.c
@@ -10,6 +10,8 @@
#include <linux/init.h>
#include <linux/string.h>
#include <linux/mm.h>
+
+#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/page.h>
#include <linux/uaccess.h>