summaryrefslogtreecommitdiff
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-04-03 14:02:28 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2020-09-15 16:36:25 +0300
commit83dfeedb6663ea8cdf93f41191ef313de5b7a2ba (patch)
tree52f2b04528168a95d55f2712bfa6a82f3bd552a5 /arch/arm/Makefile
parent8e007b367a59bcdf484c81f6df9bd5a4cc179ca6 (diff)
downloadlinux-83dfeedb6663ea8cdf93f41191ef313de5b7a2ba.tar.xz
ARM: add TEXT_OFFSET to decompressor kexec image structure
Add the TEXT_OFFSET to the decompressor's kexec image structure to kexec knows what offset to use. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 4e877354515f..9ddaa7f1ab4a 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -139,6 +139,9 @@ head-y := arch/arm/kernel/head$(MMUEXT).o
# Text offset. This list is sorted numerically by address in order to
# provide a means to avoid/resolve conflicts in multi-arch kernels.
+# Note: the 32kB below this value is reserved for use by the kernel
+# during boot, and this offset is critical to the functioning of
+# kexec-tools.
textofs-y := 0x00008000
# We don't want the htc bootloader to corrupt kernel during resume
textofs-$(CONFIG_PM_H1940) := 0x00108000