diff options
Diffstat (limited to 'drivers/firmware/efi/efi.c')
-rw-r--r-- | drivers/firmware/efi/efi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 4753bac65279..af20f1712337 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c | |||
@@ -233,7 +233,7 @@ static __initdata efi_config_table_type_t common_tables[] = { | |||
233 | {SAL_SYSTEM_TABLE_GUID, "SALsystab", &efi.sal_systab}, | 233 | {SAL_SYSTEM_TABLE_GUID, "SALsystab", &efi.sal_systab}, |
234 | {SMBIOS_TABLE_GUID, "SMBIOS", &efi.smbios}, | 234 | {SMBIOS_TABLE_GUID, "SMBIOS", &efi.smbios}, |
235 | {UGA_IO_PROTOCOL_GUID, "UGA", &efi.uga}, | 235 | {UGA_IO_PROTOCOL_GUID, "UGA", &efi.uga}, |
236 | {NULL_GUID, NULL, 0}, | 236 | {NULL_GUID, NULL, NULL}, |
237 | }; | 237 | }; |
238 | 238 | ||
239 | static __init int match_config_table(efi_guid_t *guid, | 239 | static __init int match_config_table(efi_guid_t *guid, |
@@ -313,5 +313,8 @@ int __init efi_config_init(efi_config_table_type_t *arch_tables) | |||
313 | } | 313 | } |
314 | pr_cont("\n"); | 314 | pr_cont("\n"); |
315 | early_iounmap(config_tables, efi.systab->nr_tables * sz); | 315 | early_iounmap(config_tables, efi.systab->nr_tables * sz); |
316 | |||
317 | set_bit(EFI_CONFIG_TABLES, &efi.flags); | ||
318 | |||
316 | return 0; | 319 | return 0; |
317 | } | 320 | } |