summaryrefslogtreecommitdiff
path: root/drivers/firmware/stratix10-rsu.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2019-11-06 10:06:12 +0300
committerArd Biesheuvel <ardb@kernel.org>2019-11-07 12:18:45 +0300
commit41e8a7c249bf50f2f719c2ff21ab92be70651f06 (patch)
tree114cc5691015fd074612735939c948c328f52173 /drivers/firmware/stratix10-rsu.c
parent8b5c712f27044dc7812ceea5964eb2ea8952da78 (diff)
downloadlinux-41e8a7c249bf50f2f719c2ff21ab92be70651f06.tar.xz
efi/random: use arch-independent efi_call_proto()
To handle all arch-specific peculiarities when calling an EFI protocol function, a wrapper efi_call_proto() exists on all relevant architectures. On arm/arm64, this is merely a plain function call. On x86, a special EFI entry stub needs to be used, however, as the calling convention differs. To make the efi/random stub arch-independent, use efi_call_proto() instead of the existing non-portable calls to the EFI get_rng protocol function. This also requires the addition of some typedefs. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/stratix10-rsu.c')
0 files changed, 0 insertions, 0 deletions