Blame SOURCES/0141-Also-define-GRUB_EFI_MAX_ALLOCATION_ADDRESS-for-RISC.patch

8e15ce
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8e15ce
From: David Abdurachmanov <david.abdurachmanov@sifive.com>
8e15ce
Date: Thu, 16 Jan 2020 13:10:10 +0100
8e15ce
Subject: [PATCH] Also define GRUB_EFI_MAX_ALLOCATION_ADDRESS for RISC-V
8e15ce
8e15ce
The commit "Try to pick better locations for kernel and initrd" missed to
8e15ce
define this macro for the RISC-V (riscv64) architecture, so add it there.
8e15ce
8e15ce
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
8e15ce
---
8e15ce
 include/grub/riscv64/efi/memory.h | 1 +
8e15ce
 1 file changed, 1 insertion(+)
8e15ce
8e15ce
diff --git a/include/grub/riscv64/efi/memory.h b/include/grub/riscv64/efi/memory.h
8e15ce
index c6cb3241714..acb61dca44b 100644
8e15ce
--- a/include/grub/riscv64/efi/memory.h
8e15ce
+++ b/include/grub/riscv64/efi/memory.h
8e15ce
@@ -2,5 +2,6 @@
8e15ce
 #include <grub/efi/memory.h>
8e15ce
 
8e15ce
 #define GRUB_EFI_MAX_USABLE_ADDRESS 0xffffffffffffULL
8e15ce
+#define GRUB_EFI_MAX_ALLOCATION_ADDRESS GRUB_EFI_MAX_USABLE_ADDRESS
8e15ce
 
8e15ce
 #endif /* ! GRUB_MEMORY_CPU_HEADER */