ARM: 8639/1: Define KERNEL_START and KERNEL_END
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 15 Jan 2017 02:57:40 +0000 (03:57 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 Feb 2017 11:05:46 +0000 (11:05 +0000)
commita09975bf6c756e4555a95258ff4b2286dcfddc4e
tree3e7ef22bd4bdf3dfe942321f50b6ca4d91bcf52d
parent4e23612bb09809ef89eb396fd5f568392e0f1ec7
ARM: 8639/1: Define KERNEL_START and KERNEL_END

In preparation for adding CONFIG_DEBUG_VIRTUAL support, define a set of
common constants: KERNEL_START and KERNEL_END which abstract
CONFIG_XIP_KERNEL vs. !CONFIG_XIP_KERNEL. Update the code where
relevant.

Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/memory.h
arch/arm/mm/init.c
arch/arm/mm/mmu.c