ARM: 8456/1: code patching only works on MMU
authorArnd Bergmann <arnd@arndb.de>
Thu, 19 Nov 2015 12:30:42 +0000 (13:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Dec 2015 00:12:17 +0000 (00:12 +0000)
commit437682eeab45ab8c8c1e027afd023e39f32f9032
tree41bc0cc4163046d80c5a39833ad6fe1116505981
parent0e2f91e94be2c6986cef9397b10faf4e0eaa5a60
ARM: 8456/1: code patching only works on MMU

There is no __set_fixmap implementation for NOMMU kernels, so
we cannot link the kernel/patch.c file:

arch/arm/kernel/built-in.o: In function `patch_map':
:(.text+0x257e): undefined reference to `__set_fixmap'
arch/arm/kernel/built-in.o: In function `__patch_text_real':
:(.text+0x2618): undefined reference to `__set_fixmap'
:(.text+0x262e): undefined reference to `__set_fixmap'

To work around that, this adds dependencies for all features
that rely on code patching.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig