x86: make struct efi_phys static
PATCH 1/1 x86: make struct efi_phys static
Thuis patch makes the needlessly global struct efi_phys static.
Signed-off-by Adrian Bunk <[email protected]>
---3002c1d384e748f2928823ff4b10ed4d6082dceb
arch/x86/kernel/efi.c +1 -1
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);struct efi_memory_map memmap; -struct efi efi_phys__initdata ; +static struct efi efi_phys__initdata ;static efi_system_table_t efi_systab__initdata ;static int __init setup_noefi (char *arg)
Quoted 11 lines · Adrian Bunk
Thuis patch makes the needlessly global struct
efi_physstatic.Signed-off-by Adrian Bunk <[email protected]>---
3002c1d384e748f2928823ff4b10ed4d6082dcebarch/x86/kernel/efi.c +0
-0
arch/x86/kernel/efi.c EXPORT_SYMBOL(efi); · line 60
Quoted 8 lines
arch/x86/kernel/efi.c +1
-1@@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);struct efi_memory_map memmap; -struct efi efi_phys__initdata ; +static struct efi efi_phys__initdata ;static efi_system_table_t efi_systab__initdata ;static int __init setup_noefi (char *arg)
Reviewed-by Huang Ying <[email protected]>
Best Regards,
Huang Ying