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

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