From 5e1c62c71d7e8f0a4ae6a71f6da30affb1d25985 Mon Sep 17 00:00:00 2001
From: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Date: Sat, 11 May 2024 06:52:47 +0000
Subject: [PATCH] loongarch64: fix GRUB_EFI_MAX_ALLOCATION_ADDRESS undeclared

---
 include/grub/loongarch64/efi/memory.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/grub/loongarch64/efi/memory.h b/include/grub/loongarch64/efi/memory.h
index d460267..792258b 100644
--- a/include/grub/loongarch64/efi/memory.h
+++ b/include/grub/loongarch64/efi/memory.h
@@ -20,5 +20,6 @@
 #include <grub/efi/memory.h>
 
 #define GRUB_EFI_MAX_USABLE_ADDRESS 0xfffffffffffULL
+#define GRUB_EFI_MAX_ALLOCATION_ADDRESS GRUB_EFI_MAX_USABLE_ADDRESS
 
 #endif /* ! GRUB_MEMORY_CPU_HEADER */
-- 
2.33.0

