Commit 05c144d7 authored by Sudeep Holla's avatar Sudeep Holla Committed by Hongchen Zhang
Browse files

efi: Simplify arch_efi_call_virt() macro

mainline inclusion
from mainline-v6.0-rc1
commit 8add9a3a
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5OHOB


CVE: NA

--------------------------------

Currently, the arch_efi_call_virt() assumes all users of it will have
defined a type 'efi_##f##_t' to make use of it.

Simplify the arch_efi_call_virt() macro by eliminating the explicit
need for efi_##f##_t type for every user of this macro.

Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Acked-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
[ardb: apply Sudeep's ARM fix to i686, Loongarch and RISC-V too]
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 7fa6befa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment