summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/efi/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/platform/efi/memmap.c')
-rw-r--r--arch/x86/platform/efi/memmap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/platform/efi/memmap.c b/arch/x86/platform/efi/memmap.c
index 928e8c978859..c69f8471e6d0 100644
--- a/arch/x86/platform/efi/memmap.c
+++ b/arch/x86/platform/efi/memmap.c
@@ -94,6 +94,9 @@ int __init efi_memmap_install(struct efi_memory_map_data *data)
{
efi_memmap_unmap();
+ if (efi_enabled(EFI_PARAVIRT))
+ return 0;
+
return __efi_memmap_init(data);
}