Home
last modified time | relevance | path

Searched hist:e38abdab441c0dcfb8f28dd0daf1dfa44b494492 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/acpi/
H A Dprmt.cdiff e38abdab441c0dcfb8f28dd0daf1dfa44b494492 Sun Jul 02 11:40:39 CDT 2023 Ard Biesheuvel <ardb@kernel.org> 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>
/openbmc/linux/arch/x86/include/asm/uv/
H A Dbios.hdiff e38abdab441c0dcfb8f28dd0daf1dfa44b494492 Sun Jul 02 11:40:39 CDT 2023 Ard Biesheuvel <ardb@kernel.org> 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>
/openbmc/linux/drivers/firmware/efi/
H A Druntime-wrappers.cdiff e38abdab441c0dcfb8f28dd0daf1dfa44b494492 Sun Jul 02 11:40:39 CDT 2023 Ard Biesheuvel <ardb@kernel.org> 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>
/openbmc/linux/include/linux/
H A Defi.hdiff e38abdab441c0dcfb8f28dd0daf1dfa44b494492 Sun Jul 02 11:40:39 CDT 2023 Ard Biesheuvel <ardb@kernel.org> 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>