summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/mcdi_functions.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-09-24 17:53:11 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2025-09-24 18:08:34 +0200
commit1f6113ae5ac4927fe80256154ebb0461e670fa85 (patch)
tree429a4caf084bedfba194bf000f2caa8ae6acb646 /drivers/cdx/controller/mcdi_functions.c
parent648dbccc03a000cd64c2a9d86012d98053545e64 (diff)
x86/boot: Drop erroneous __init annotation from early_set_pages_state()
The kexec code will call set_pages_state() after tearing down all the GHCBs, which will therefore result in a call to early_set_pages_state(). This means the __init annotation is wrong, and must be dropped. Fixes: c5c30a373693 ("x86/boot: Move startup code out of __head section") Reported-by: Srikanth Aithal <Srikanth.Aithal@amd.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Tested-by: Srikanth Aithal <Srikanth.Aithal@amd.com>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions