projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
edb37fb
)
cache: Fix compilation for ppc, sparc and arm64
author
phcoder
<phcoder@sid.debian.laptop.phnet>
Sun, 9 Jul 2017 18:59:15 +0000
(20:59 +0200)
committer
phcoder
<phcoder@sid.debian.laptop.phnet>
Sun, 9 Jul 2017 18:59:15 +0000
(20:59 +0200)
include/grub/cache.h
patch
|
blob
|
history
diff --git
a/include/grub/cache.h
b/include/grub/cache.h
index
1c98ce2
..
ccfa717
100644
(file)
--- 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
#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)))
static inline void
grub_arch_sync_dma_caches (volatile void *address __attribute__ ((unused)),
grub_size_t len __attribute__ ((unused)))