grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH]: Fix fs modules on sparc64 build with newer gcc


From: Robert Millan
Subject: Re: [PATCH]: Fix fs modules on sparc64 build with newer gcc
Date: Sat, 2 May 2009 16:35:29 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Apr 11, 2009 at 01:27:31AM -0700, David Miller wrote:
> --- a/configure.ac
> +++ b/configure.ac
> @@ -200,7 +200,7 @@ if test "$target_cpu"-"$platform" = i386-pc; then
>  fi
>  
>  # Check for functions.
> -AC_CHECK_FUNCS(posix_memalign memalign asprintf)
> +AC_CHECK_FUNCS(posix_memalign memalign asprintf __bswapsi2 __bswapdi2)
> [...]
> +#ifdef HAVE___BSWAPSI2
> +typedef int SItype __attribute__ ((mode (SI)));
> +SItype EXPORT_FUNC (__bswapsi2) (SItype);
> +#endif

Very nice.  I wish someone with a powerpc and some spare time would do the
same to include/grub/powerpc/libgcc.h ;-)

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]