OSDN Git Service

arm64: rename stext to primary_entry
authorArd Biesheuvel <ardb@kernel.org>
Thu, 26 Mar 2020 17:14:23 +0000 (18:14 +0100)
committerWill Deacon <will@kernel.org>
Tue, 28 Apr 2020 12:55:16 +0000 (13:55 +0100)
commit348a625deef13d7f8537b9704d29d05cafdd8e72
treea0c4f686803f6b9f8717f3b6ccccd15bd32f3b67
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c
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>
arch/arm64/kernel/efi-entry.S
arch/arm64/kernel/head.S
arch/arm64/kernel/image-vars.h
arch/arm64/kernel/vmlinux.lds.S