diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-19 16:41:54 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-02-22 11:39:42 +0000 |
commit | ac96680d22ed86168bcccb4aae768bddb869481d (patch) | |
tree | f4e3abcfdd4e293ae400c07dcf9173c4ba55ccb3 /net/compat.c | |
parent | 8d9f49136770e8a49c4efd5a4a5b23f75fefaaea (diff) | |
download | linux-ac96680d22ed86168bcccb4aae768bddb869481d.tar.gz linux-ac96680d22ed86168bcccb4aae768bddb869481d.tar.bz2 linux-ac96680d22ed86168bcccb4aae768bddb869481d.zip |
ARM: 8535/1: mm: DEBUG_RODATA makes no sense with XIP_KERNEL
When CONFIG_DEBUG_ALIGN_RODATA is set, we get a link error:
arch/arm/mm/built-in.o:(.data+0x4bc): undefined reference to `__start_rodata_section_aligned'
However, this combination is useless, as XIP_KERNEL implies that all the
RODATA is already marked readonly, so both CONFIG_DEBUG_RODATA and
CONFIG_DEBUG_ALIGN_RODATA (which depends on the other) are not
needed with XIP_KERNEL, and this patches enforces that using a Kconfig
dependency.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 25362dc496ed ("ARM: 8501/1: mm: flip priority of CONFIG_DEBUG_RODATA")
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions