[patch v3 09/13] x86: Remove efi=old_map command line option
From: steve . wahl
Date: Mon Jul 13 2020 - 17:31:18 EST
As a part of UV1 platform removal, delete the efi=old_map option,
which should no longer be needed.
Signed-off-by: Steve Wahl <steve.wahl@xxxxxxx>
Acked-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
---
arch/x86/platform/uv/bios_uv.c | 14 --------------
1 file changed, 14 deletions(-)
--- linux.orig/arch/x86/platform/uv/bios_uv.c 2020-07-07 10:49:50.117510557 -0500
+++ linux/arch/x86/platform/uv/bios_uv.c 2020-07-07 10:56:15.025045961 -0500
@@ -356,17 +356,3 @@ void __iomem *__init efi_ioremap(unsigne
return (void __iomem *)__va(phys_addr);
}
-
-static int __init arch_parse_efi_cmdline(char *str)
-{
- if (!str) {
- pr_warn("need at least one option\n");
- return -EINVAL;
- }
-
- if (!efi_is_mixed() && parse_option_str(str, "old_map"))
- set_bit(EFI_UV1_MEMMAP, &efi.flags);
-
- return 0;
-}
-early_param("efi", arch_parse_efi_cmdline);