diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-04-16 19:45:24 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-04-24 15:52:16 +0300 |
commit | 980771f616624e4c563a2014a32b7d23876d1ecf (patch) | |
tree | 40428259c35ee0ab519129a6277127cb08953a3a /include/linux/efi.h | |
parent | ccc27ae77494252965aedca68588e7457829cfad (diff) | |
download | linux-980771f616624e4c563a2014a32b7d23876d1ecf.tar.xz |
efi/libstub: Drop __pure getters for EFI stub options
The practice of using __pure getter functions to access global
variables in the EFI stub dates back to the time when we had to
carefully prevent GOT entries from being emitted, because we
could not rely on the toolchain to do this for us.
Today, we use the hidden visibility pragma for all EFI stub source
files, which now all live in the same subdirectory, and we apply a
sanity check on the objects, so we can get rid of these getter
functions and simply refer to global data objects directly.
So switch over the remaining boolean variables carrying options set
on the kernel command line.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
0 files changed, 0 insertions, 0 deletions