dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0072-efiemu-Fix-compilation-failure.patch

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