c78952
From 68bdf29eb6e376a3b4a817bbe7481efd12b8f9de Mon Sep 17 00:00:00 2001
6f1e3d
From: Vladimir Serbinenko <phcoder@gmail.com>
6f1e3d
Date: Fri, 22 Jan 2016 14:10:30 +0100
31cddd
Subject: [PATCH] efiemu: Fix compilation failure
6f1e3d
6f1e3d
(cherry picked from commit b6a03dfd327489d53ee07c6d7d593b99c7b7cb62)
6f1e3d
6f1e3d
Resolves: rhbz#1288608
6f1e3d
---
6f1e3d
 grub-core/efiemu/mm.c | 4 ++--
6f1e3d
 1 file changed, 2 insertions(+), 2 deletions(-)
6f1e3d
6f1e3d
diff --git a/grub-core/efiemu/mm.c b/grub-core/efiemu/mm.c
ec4acb
index 92e7df7e501..52a032f7b2e 100644
6f1e3d
--- a/grub-core/efiemu/mm.c
6f1e3d
+++ b/grub-core/efiemu/mm.c
6f1e3d
@@ -410,8 +410,8 @@ fill_hook (grub_uint64_t addr, grub_uint64_t size, grub_memory_type_t type,
6f1e3d
 	return grub_efiemu_add_to_mmap (addr, size,
6f1e3d
 					GRUB_EFI_ACPI_MEMORY_NVS);
6f1e3d
 
6f1e3d
-      case GRUB_MEMORY_PRAM:
6f1e3d
-      case GRUB_MEMORY_PMEM:
6f1e3d
+      case GRUB_MEMORY_PERSISTENT:
6f1e3d
+      case GRUB_MEMORY_PERSISTENT_LEGACY:
6f1e3d
 	return grub_efiemu_add_to_mmap (addr, size,
6f1e3d
 					GRUB_EFI_PERSISTENT_MEMORY);
6f1e3d
       default: