diff options
author | steve.wahl@hpe.com <steve.wahl@hpe.com> | 2020-07-13 16:30:05 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-07-17 16:47:47 +0200 |
commit | 66d67fecd896370d4cbbd146c9a7bf5b4c5303af (patch) | |
tree | abc9e565a973571f503f6ab2b512071bdf35f20b /arch/x86/platform/efi/quirks.c | |
parent | x86/efi: Delete SGI UV1 detection. (diff) | |
download | linux-dev-66d67fecd896370d4cbbd146c9a7bf5b4c5303af.tar.xz linux-dev-66d67fecd896370d4cbbd146c9a7bf5b4c5303af.zip |
x86/efi: Remove references to no-longer-used efi_have_uv1_memmap()
In removing UV1 support, efi_have_uv1_memmap is no longer used.
Signed-off-by: Steve Wahl <steve.wahl@hpe.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lkml.kernel.org/r/20200713212955.786177105@hpe.com
Diffstat (limited to 'arch/x86/platform/efi/quirks.c')
-rw-r--r-- | arch/x86/platform/efi/quirks.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c index d627f55d17df..5a40fe411ebd 100644 --- a/arch/x86/platform/efi/quirks.c +++ b/arch/x86/platform/efi/quirks.c @@ -381,14 +381,6 @@ static void __init efi_unmap_pages(efi_memory_desc_t *md) u64 va = md->virt_addr; /* - * To Do: Remove this check after adding functionality to unmap EFI boot - * services code/data regions from direct mapping area because the UV1 - * memory map maps EFI regions in swapper_pg_dir. - */ - if (efi_have_uv1_memmap()) - return; - - /* * EFI mixed mode has all RAM mapped to access arguments while making * EFI runtime calls, hence don't unmap EFI boot services code/data * regions. |