Skip to content
Commit 762f169f authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi/x86: Move EFI runtime call setup/teardown helpers out of line



Only the arch_efi_call_virt() macro that some architectures override
needs to be a macro, given that it is variadic and encapsulates calls
via function pointers that have different prototypes.

The associated setup and teardown code are not special in this regard,
and don't need to be instantiated at each call site. So turn them into
ordinary C functions and move them out of line.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 0bb80ecc
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