Skip to content
Commit 2f8ab121 authored by Alexander Graf's avatar Alexander Graf
Browse files

arm: Leave smccc calls in .text when efi_loader=n



Commit 81ea0083 ("efi_loader: PSCI reset and shutdown") put the SMCCC
assembly code into the efi specific code section. This is wrong when we
do not have EFI_LOADER enabled, as that strips efi runtime sections from
the output binary

Reported-by: default avatarMichal Simek <monstr@monstr.eu>
Reported-by: default avatarSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tested-by: default avatarMichal Simek <monstr@monstr.eu>
Fixes: 81ea0083 ("efi_loader: PSCI reset and shutdown")
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 6f8f4217
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment