From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M0GJV-0004Jk-BT for mharc-grub-devel@gnu.org; Sat, 02 May 2009 10:35:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0GJU-0004Jd-Cy for grub-devel@gnu.org; Sat, 02 May 2009 10:35:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0GJQ-0004Im-Th for grub-devel@gnu.org; Sat, 02 May 2009 10:35:36 -0400 Received: from [199.232.76.173] (port=49596 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0GJQ-0004Ih-LU for grub-devel@gnu.org; Sat, 02 May 2009 10:35:32 -0400 Received: from aybabtu.com ([69.60.117.155]:41032) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0GJQ-00027t-6y for grub-devel@gnu.org; Sat, 02 May 2009 10:35:32 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1M0G69-000235-6v for grub-devel@gnu.org; Sat, 02 May 2009 16:21:49 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1M0GJN-0007dF-1q for grub-devel@gnu.org; Sat, 02 May 2009 16:35:29 +0200 Date: Sat, 2 May 2009 16:35:29 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090502143529.GH28362@thorin> References: <20090411.012731.101657495.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090411.012731.101657495.davem@davemloft.net> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH]: Fix fs modules on sparc64 build with newer gcc X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 14:35:36 -0000 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."