Skip to contentSkip to conversation

x86: make struct efi_phys static

PATCH In review Adrian Bunk 2 participants 2 messages Feb 13, 2008 – Feb 14, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: make struct efi_phys static

Thuis patch makes the needlessly global struct efi_phys static.

---
3002c1d384e748f2928823ff4b10ed4d6082dceb

arch/x86/kernel/efi.c +1 -1
index 1411324..1211ab2 100644
@@ -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 on v1 1/1
#1 lore raw
Quoted 11 lines · Adrian Bunk

Thuis patch makes the needlessly global struct efi_phys static.

---
3002c1d384e748f2928823ff4b10ed4d6082dceb

arch/x86/kernel/efi.c +0 -0
index 1411324..1211ab2 100644

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)

Best Regards,
Huang Ying