1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/x86/include/asm/uv
Ard Biesheuvel e38abdab44 efi/runtime-wrappers: Remove duplicated macro for service returning void
__efi_call_virt() exists as an alternative for efi_call_virt() for the
sole reason that ResetSystem() returns void, and so we cannot use a call
to it in the RHS of an assignment.

Given that there is only a single user, let's drop the macro, and expand
it into the caller. That way, the remaining macro can be tightened
somewhat in terms of type safety too.

Note that the use of typeof() on the runtime service invocation does not
result in an actual call being made, but it does require a few pointer
types to be fixed up and converted into the proper function pointer
prototypes.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2023-08-22 10:39:26 +02:00
..
bios.h efi/runtime-wrappers: Remove duplicated macro for service returning void 2023-08-22 10:39:26 +02:00
uv.h x86/platform/uv: Drop last traces of uv_flush_tlb_others 2020-11-11 13:16:51 +01:00
uv_geo.h x86: Fix various typos in comments 2021-03-18 15:31:53 +01:00
uv_hub.h x86/platform/uv: UV support for sub-NUMA clustering 2023-05-31 09:34:59 -07:00
uv_irq.h x86, apic: Move SGI UV functionality out of generic IO-APIC code 2009-10-14 09:17:09 +02:00
uv_mmrs.h x86/platform/uv: Add platform resolving #defines for misc GAM_MMIOH_REDIRECT* 2023-05-31 09:34:59 -07:00