summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/arm-stub.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2019-12-24 16:10:24 +0100
committerIngo Molnar <mingo@kernel.org>2019-12-25 10:49:25 +0100
commit7d4e323d02c9a37d68c067f5a951307f3af14694 (patch)
tree99bb3dca86cc7033378f72e1bc5fc68d9cd16cf4 /drivers/firmware/efi/libstub/arm-stub.c
parent966291f6344d7eb6fc3204381a426bafa20a3d18 (diff)
downloadlinux-7d4e323d02c9a37d68c067f5a951307f3af14694.tar.gz
linux-7d4e323d02c9a37d68c067f5a951307f3af14694.tar.bz2
linux-7d4e323d02c9a37d68c067f5a951307f3af14694.zip
efi/libstub: Tidy up types and names of global cmdline variables
Drop leading underscores and use bool not int for true/false variables set on the command line. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Cc: Arvind Sankar <nivedita@alum.mit.edu> Cc: Borislav Petkov <bp@alien8.de> Cc: James Morse <james.morse@arm.com> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: https://lkml.kernel.org/r/20191224151025.32482-25-ardb@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/arm-stub.c')
-rw-r--r--drivers/firmware/efi/libstub/arm-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/arm-stub.c b/drivers/firmware/efi/libstub/arm-stub.c
index 62280df09dd4..7bbef4a67350 100644
--- a/drivers/firmware/efi/libstub/arm-stub.c
+++ b/drivers/firmware/efi/libstub/arm-stub.c
@@ -37,7 +37,7 @@
static u64 virtmap_base = EFI_RT_VIRTUAL_BASE;
-static efi_system_table_t *__section(.data) sys_table;
+static efi_system_table_t *__efistub_global sys_table;
__pure efi_system_table_t *efi_system_table(void)
{