ARM: 8646/1: mmu: decouple VECTORS_BASE from Kconfig
authorAfzal Mohammed <afzal.mohd.ma@gmail.com>
Sun, 29 Jan 2017 16:31:32 +0000 (17:31 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 Feb 2017 11:06:12 +0000 (11:06 +0000)
commitd2ca5f2491c1246adf3847101fdc538a3b89439c
tree0657168ff0f464732cbfe8605b00e0e62f390a08
parent035e787543de709f29b38752251d4724200ec353
ARM: 8646/1: mmu: decouple VECTORS_BASE from Kconfig

For MMU configurations, VECTORS_BASE is always 0xffff0000, a macro
definition will suffice.

For no-MMU, exception base address is dynamically determined in
subsequent patches. To preserve bisectability, now make the
macro applicable for no-MMU scenario too.

Thanks to 0-DAY kernel test infrastructure that found the
bisectability issue. This macro will be restricted to MMU case upon
dynamically determining exception base address for no-MMU.

Once exception address is handled dynamically for no-MMU,
VECTORS_BASE can be removed from Kconfig.

Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Tested-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/memory.h
arch/arm/mach-berlin/platsmp.c
arch/arm/mm/dump.c
arch/arm/mm/init.c