diff mbox series

[v2] ia64: build fix in cache.h

Message ID 20190606091300.2291-1-leif.lindholm@linaro.org
State Accepted
Commit 4e7b5bb3be69633ed860cb74b0ef2c84a839523d
Headers show
Series [v2] ia64: build fix in cache.h | expand

Commit Message

Leif Lindholm June 6, 2019, 9:13 a.m. UTC
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>

---

Changes in v2:
- Alphabetically sort macros in conditional.
- Add Adrian's T-b.

 include/grub/cache.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.11.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Comments

John Paul Adrian Glaubitz June 6, 2019, 9:14 a.m. UTC | #1
On 6/6/19 11:13 AM, Leif Lindholm wrote:
> Changes in v2:

> - Alphabetically sort macros in conditional.

> - Add Adrian's T-b.


Superb, thanks a lot ;).

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
diff mbox series

Patch

diff --git a/include/grub/cache.h b/include/grub/cache.h
index ccfa717e6..7aa8d7933 100644
--- a/include/grub/cache.h
+++ b/include/grub/cache.h
@@ -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