summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/image-vars.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-03-26 18:14:23 +0100
committerWill Deacon <will@kernel.org>2020-04-28 13:55:16 +0100
commit348a625deef13d7f8537b9704d29d05cafdd8e72 (patch)
treea0c4f686803f6b9f8717f3b6ccccd15bd32f3b67 /arch/arm64/kernel/image-vars.h
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c (diff)
downloadlinux-348a625deef13d7f8537b9704d29d05cafdd8e72.tar.gz
linux-348a625deef13d7f8537b9704d29d05cafdd8e72.tar.bz2
linux-348a625deef13d7f8537b9704d29d05cafdd8e72.zip
arm64: rename stext to primary_entry
For historical reasons, the primary entry routine living somewhere in the inittext section is called stext(), which is confusing, given that there is also a section marker called _stext which lives at a fixed offset in the image (either 64 or 4096 bytes, depending on whether CONFIG_EFI is enabled) Let's rename stext to primary_entry(), which is a better description and reflects the secondary_entry() routine that already exists for SMP boot. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20200326171423.3080-1-ardb@kernel.org Reviwed-by: Mark Brown <broonie@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/image-vars.h')
-rw-r--r--arch/arm64/kernel/image-vars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/image-vars.h b/arch/arm64/kernel/image-vars.h
index 7f06ad93fc95..be0a63ffed23 100644
--- a/arch/arm64/kernel/image-vars.h
+++ b/arch/arm64/kernel/image-vars.h
@@ -13,7 +13,7 @@
#ifdef CONFIG_EFI
__efistub_kernel_size = _edata - _text;
-__efistub_stext_offset = stext - _text;
+__efistub_primary_entry_offset = primary_entry - _text;
/*