[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ia64: build fix in cache.h
From: |
Leif Lindholm |
Subject: |
[PATCH] ia64: build fix in cache.h |
Date: |
Tue, 4 Jun 2019 19:51:42 +0100 |
Add ia64 to the architectures excluding a declaration for
grub_arch_sync_dma_caches.
IA64 does not include any of the source files that require the function,
but was overlooked for d8901e3ba115 ("cache: Fix compilation for ppc,
sparc and arm64").
Add it to the list of excluding architectures in order to not get
missing symbol errors when running grub-mkimage.
Reported-by: Alexander Graf <address@hidden>
Signed-off-by: Leif Lindholm <address@hidden>
---
include/grub/cache.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/grub/cache.h b/include/grub/cache.h
index ccfa717e6..85819fe2d 100644
--- a/include/grub/cache.h
+++ b/include/grub/cache.h
@@ -34,7 +34,8 @@ void EXPORT_FUNC(grub_arch_sync_caches) (void *address,
grub_size_t len);
#endif
#ifndef GRUB_MACHINE_EMU
-#if defined (__aarch64__) || defined (__powerpc__) || defined (__sparc__)
+#if defined (__aarch64__) || defined (__powerpc__) || defined (__sparc__) || \
+ defined (__ia64__)
#elif defined (__i386__) || defined (__x86_64__)
static inline void
--
2.11.0
- [PATCH] ia64: build fix in cache.h,
Leif Lindholm <=