diff options
Diffstat (limited to 'drivers/firmware/efi/efi.c')
-rw-r--r-- | drivers/firmware/efi/efi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index cd36deb619fa..023937a63a48 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c | |||
@@ -298,7 +298,7 @@ int __init efi_config_init(efi_config_table_type_t *arch_tables) | |||
298 | if (table64 >> 32) { | 298 | if (table64 >> 32) { |
299 | pr_cont("\n"); | 299 | pr_cont("\n"); |
300 | pr_err("Table located above 4GB, disabling EFI.\n"); | 300 | pr_err("Table located above 4GB, disabling EFI.\n"); |
301 | early_iounmap(config_tables, | 301 | early_memunmap(config_tables, |
302 | efi.systab->nr_tables * sz); | 302 | efi.systab->nr_tables * sz); |
303 | return -EINVAL; | 303 | return -EINVAL; |
304 | } | 304 | } |
@@ -314,7 +314,7 @@ int __init efi_config_init(efi_config_table_type_t *arch_tables) | |||
314 | tablep += sz; | 314 | tablep += sz; |
315 | } | 315 | } |
316 | pr_cont("\n"); | 316 | pr_cont("\n"); |
317 | early_iounmap(config_tables, efi.systab->nr_tables * sz); | 317 | early_memunmap(config_tables, efi.systab->nr_tables * sz); |
318 | 318 | ||
319 | set_bit(EFI_CONFIG_TABLES, &efi.flags); | 319 | set_bit(EFI_CONFIG_TABLES, &efi.flags); |
320 | 320 | ||