diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2019-11-06 10:06:12 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2019-11-07 12:18:45 +0300 |
commit | 41e8a7c249bf50f2f719c2ff21ab92be70651f06 (patch) | |
tree | 114cc5691015fd074612735939c948c328f52173 /drivers/firmware/stratix10-rsu.c | |
parent | 8b5c712f27044dc7812ceea5964eb2ea8952da78 (diff) | |
download | linux-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