ARM: 9088/1: Split KERNEL_OFFSET from PAGE_OFFSET
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 3 Jun 2021 08:50:16 +0000 (09:50 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sun, 13 Jun 2021 17:16:40 +0000 (18:16 +0100)
commitb78f63f4439bbfd02bfc628114ed0f63460e5570
treef78e13f3faf09f44c6a35c76925854e18344898e
parent8b95a7d90ce8160ac5cffd5bace6e2eba01a871e
ARM: 9088/1: Split KERNEL_OFFSET from PAGE_OFFSET

We want to be able to compile the kernel into an address different
from PAGE_OFFSET (start of lowmem) + TEXT_OFFSET, so start to pry
apart the address of where the kernel is located from the address
where the lowmem is located by defining and using KERNEL_OFFSET in
a few key places.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/memory.h
arch/arm/kernel/head.S
arch/arm/kernel/vmlinux.lds.S