From 8df6eff6daf851f470e63ca598095629ee942faa Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 17 Nov 2013 01:01:47 +0100 Subject: [PATCH] * include/grub/misc.h: Replace check for __sparc64__ with one for __sparc__ as __sparc64__ isn't actually defined. --- ChangeLog | 5 +++++ include/grub/misc.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a8edf5d7..72b8bf873 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-11-17 Vladimir Serbinenko + + * include/grub/misc.h: Replace check for __sparc64__ with one for + __sparc__ as __sparc64__ isn't actually defined. + 2013-11-17 Vladimir Serbinenko * tests/util/grub-shell.in: Use escc-ch-b on powerpc. This is missing diff --git a/include/grub/misc.h b/include/grub/misc.h index 9c8faf274..3d7147797 100644 --- a/include/grub/misc.h +++ b/include/grub/misc.h @@ -465,7 +465,7 @@ EXPORT_FUNC (__umodsi3) (grub_uint32_t a, grub_uint32_t b); #endif -#if defined (__sparc64__) || defined (__powerpc__) +#if defined (__sparc__) || defined (__powerpc__) unsigned EXPORT_FUNC (__ctzdi2) (grub_uint64_t x); #define NEED_CTZDI2 1