Home
last modified time | relevance | path

Searched hist:"9110 f3e7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/mm/
H A Dinit.c9110f3e7 Fri Oct 11 07:51:43 CDT 2019 Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> 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>
9110f3e7 Fri Oct 11 07:51:43 CDT 2019 Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> 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>