]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
ia64: build fix in cache.h
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 6 Jun 2019 09:13:00 +0000 (10:13 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 7 Jun 2019 13:37:55 +0000 (15:37 +0200)
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 <agraf@csgraf.de>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/cache.h

index ccfa717e669625e0db96df0692c65f5a4c5ff916..7aa8d793395ad2c9057ac5687650737c6dedff88 100644 (file)
@@ -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 (__ia64__) || defined (__powerpc__) || \
+    defined (__sparc__)
 
 #elif defined (__i386__) || defined (__x86_64__)
 static inline void