[tip: x86/platform] x86/platform/uv: Remove efi=old_map command line option

From: tip-bot2 for steve.wahl@xxxxxxx
Date: Fri Jul 17 2020 - 10:51:18 EST


The following commit has been merged into the x86/platform branch of tip:

Commit-ID: 3dad716240f95c3e6114965b8ea95018ef1b04c9
Gitweb: https://git.kernel.org/tip/3dad716240f95c3e6114965b8ea95018ef1b04c9
Author: steve.wahl@xxxxxxx <steve.wahl@xxxxxxx>
AuthorDate: Mon, 13 Jul 2020 16:30:03 -05:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Fri, 17 Jul 2020 16:47:46 +02:00

x86/platform/uv: Remove efi=old_map command line option

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@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Acked-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
Link: https://lkml.kernel.org/r/20200713212955.552098718@xxxxxxx

---
arch/x86/platform/uv/bios_uv.c | 14 --------------
1 file changed, 14 deletions(-)

diff --git a/arch/x86/platform/uv/bios_uv.c b/arch/x86/platform/uv/bios_uv.c
index 4494589..cd2a6e2 100644
--- a/arch/x86/platform/uv/bios_uv.c
+++ b/arch/x86/platform/uv/bios_uv.c
@@ -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);