summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>2019-10-11 14:51:43 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2019-10-27 22:14:51 +0100
commit9110f3e78c02026ebc9e65d6208b1e2bb8a851a1 (patch)
treeb2f8feff2aef6488299313afe855ccc62edc3f05 /arch
parentARM: 8916/1: mm: make set_section_perms() static (diff)
downloadlinux-9110f3e78c02026ebc9e65d6208b1e2bb8a851a1.tar.xz
linux-9110f3e78c02026ebc9e65d6208b1e2bb8a851a1.zip
ARM: 8917/1: mm: include <asm/set_memory.h>
The definitions of set_kernel_text_rw() and set_kernel_text_ro() are in <asm/set_memory.h> but this is not included in init.c which defines these. Silence the following warnings by including the <asm/set_memory.h> header. arch/arm/mm/init.c:669:6: warning: symbol 'set_kernel_text_rw' was not declared. Should it be static? arch/arm/mm/init.c:678:6: warning: symbol 'set_kernel_text_ro' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mm/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index b743272eacb3..3ef204137e73 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -30,6 +30,7 @@
#include <asm/prom.h>
#include <asm/sections.h>
#include <asm/setup.h>
+#include <asm/set_memory.h>
#include <asm/system_info.h>
#include <asm/tlb.h>
#include <asm/fixmap.h>