[patch 09/13] Remove efi=old_map command line option

From: steve . wahl
Date: Wed Jul 01 2020 - 10:18:31 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>
---
Documentation/admin-guide/kernel-parameters.txt | 4 +---
arch/x86/platform/uv/bios_uv.c | 14 --------------
2 files changed, 1 insertion(+), 17 deletions(-)

--- linux.orig/arch/x86/platform/uv/bios_uv.c 2020-06-18 16:26:33.963087219 -0500
+++ linux/arch/x86/platform/uv/bios_uv.c 2020-06-25 09:53:43.013835162 -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);