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)
commit9110f3e78c02026ebc9e65d6208b1e2bb8a851a1
treeb2f8feff2aef6488299313afe855ccc62edc3f05
parentea5379be539e2a83cd582d79b9a12323ea1bae78
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>
arch/arm/mm/init.c