diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2025-08-28 12:22:24 +0200 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-09-03 18:06:04 +0200 |
| commit | c5c30a37369313d1f8b84e96e6a4397b4e2b4eb8 (patch) | |
| tree | ffc41596d742acbe53a80fabf784f5d3204e0d8d /arch/x86/boot/compressed | |
| parent | efistub/x86: Remap inittext read-execute when needed (diff) | |
| download | linux-c5c30a37369313d1f8b84e96e6a4397b4e2b4eb8.tar.gz linux-c5c30a37369313d1f8b84e96e6a4397b4e2b4eb8.zip | |
x86/boot: Move startup code out of __head section
Move startup code out of the __head section, now that this no longer has
a special significance. Move everything into .text or .init.text as
appropriate, so that startup code is not kept around unnecessarily.
[ bp: Fold in hunk to fix 32-bit CPU hotplug:
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202509022207.56fd97f4-lkp@intel.com ]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250828102202.1849035-45-ardb+git@google.com
Diffstat (limited to 'arch/x86/boot/compressed')
| -rw-r--r-- | arch/x86/boot/compressed/sev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/boot/compressed/sev.c b/arch/x86/boot/compressed/sev.c index a5e002ff6bff..57670c172b25 100644 --- a/arch/x86/boot/compressed/sev.c +++ b/arch/x86/boot/compressed/sev.c @@ -32,9 +32,6 @@ struct ghcb *boot_ghcb; #undef __init #define __init -#undef __head -#define __head - #define __BOOT_COMPRESSED u8 snp_vmpl; |
