diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-19 16:41:55 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-02-22 11:39:43 +0000 |
commit | 91c617d7a3af3b599ef97c48253a3f5ebb6cdadd (patch) | |
tree | f16eb63a5ef27669108390baaf6fbfef1ae54149 /arch/arm/mach-footbridge/Kconfig | |
parent | ac96680d22ed86168bcccb4aae768bddb869481d (diff) | |
download | linux-next-91c617d7a3af3b599ef97c48253a3f5ebb6cdadd.tar.gz |
ARM: 8536/1: mm: hide __start_rodata_section_aligned for non-debug builds
The __start_rodata_section_aligned is only referenced by the
DEBUG_RODATA code, which is only used when the MMU is enabled,
but the definition fails on !MMU builds:
arch/arm/kernel/vmlinux.lds:702: undefined symbol `SECTION_SHIFT' referenced in expression
This hides the symbol whenever DEBUG_RODATA is disabled.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 64ac2e74f0b2 ("ARM: 8502/1: mm: mark section-aligned portion of rodata NX")
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-footbridge/Kconfig')
0 files changed, 0 insertions, 0 deletions