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