bc092b
From d8901e3ba115d705c9c08ecedd201aca8b4867b8 Mon Sep 17 00:00:00 2001
bc092b
From: phcoder <phcoder@sid.debian.laptop.phnet>
bc092b
Date: Sun, 9 Jul 2017 20:59:15 +0200
63f1a9
Subject: [PATCH 045/250] cache: Fix compilation for ppc, sparc and arm64
bc092b
bc092b
---
bc092b
 include/grub/cache.h | 4 +++-
bc092b
 1 file changed, 3 insertions(+), 1 deletion(-)
bc092b
bc092b
diff --git a/include/grub/cache.h b/include/grub/cache.h
ec4acb
index 1c98ce270b6..ccfa717e669 100644
bc092b
--- a/include/grub/cache.h
bc092b
+++ b/include/grub/cache.h
bc092b
@@ -34,7 +34,9 @@ void EXPORT_FUNC(grub_arch_sync_caches) (void *address, grub_size_t len);
bc092b
 #endif
bc092b
 
bc092b
 #ifndef GRUB_MACHINE_EMU
bc092b
-#if defined (__i386__) || defined (__x86_64__)
bc092b
+#if defined (__aarch64__) || defined (__powerpc__) || defined (__sparc__)
bc092b
+
bc092b
+#elif defined (__i386__) || defined (__x86_64__)
bc092b
 static inline void
bc092b
 grub_arch_sync_dma_caches (volatile void *address __attribute__ ((unused)),
bc092b
 			   grub_size_t len __attribute__ ((unused)))
bc092b
-- 
63f1a9
2.14.3
bc092b