cache: Fix compilation for ppc, sparc and arm64
This commit is contained in:
parent
8d54a08733
commit
a4d4008588
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@ void EXPORT_FUNC(grub_arch_sync_caches) (void *address, grub_size_t len);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GRUB_MACHINE_EMU
|
#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
|
static inline void
|
||||||
grub_arch_sync_dma_caches (volatile void *address __attribute__ ((unused)),
|
grub_arch_sync_dma_caches (volatile void *address __attribute__ ((unused)),
|
||||||
grub_size_t len __attribute__ ((unused)))
|
grub_size_t len __attribute__ ((unused)))
|
||||||
|
|
Loading…
Reference in a new issue