]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM: 8917/1: mm: include <asm/set_memory.h>
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Fri, 11 Oct 2019 12:51:43 +0000 (13:51 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sun, 27 Oct 2019 21:14:51 +0000 (21:14 +0000)
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>
arch/arm/mm/init.c

index b743272eacb3af1810c301ef23a785893a8046f6..3ef204137e7325e091c9520d30acb7b1169eabc6 100644 (file)
@@ -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>