• Ard Biesheuvel's avatar
    efi/x86: Move EFI runtime call setup/teardown helpers out of line · 762f169f
    Ard Biesheuvel authored
    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>
    762f169f
efi.h 13.6 KB