On Fri, Aug 18, 2023 at 01:37:15PM +0200, Ard Biesheuvel wrote: > 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: Ard Biesheuvel <ardb@xxxxxxxxxx> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>