x86/platform/uv: Remove efi=old_map command line option
authorsteve.wahl@hpe.com <steve.wahl@hpe.com>
Mon, 13 Jul 2020 21:30:03 +0000 (16:30 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 17 Jul 2020 14:47:46 +0000 (16:47 +0200)
As a part of UV1 platform removal, delete the efi=old_map option,
which is not longer needed.

Signed-off-by: Steve Wahl <steve.wahl@hpe.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lkml.kernel.org/r/20200713212955.552098718@hpe.com
arch/x86/platform/uv/bios_uv.c

index 4494589a288ae60506bbb5ed9f911075183e6117..cd2a6e2537f673407074b9ba65171939e17a19de 100644 (file)
@@ -356,17 +356,3 @@ void __iomem *__init efi_ioremap(unsigned long phys_addr, unsigned long size,
 
        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);