qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix compilation on BigEndian
@ 2009-01-05 10:22 Michael Buesch
  2009-01-05 21:41 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Buesch @ 2009-01-05 10:22 UTC (permalink / raw)
  To: qemu-devel

This fixes BigEndian compilation for target-ppc.

Index: target-ppc/op_helper.c
===================================================================
--- target-ppc/op_helper.c	(revision 6190)
+++ target-ppc/op_helper.c	(working copy)
@@ -2185,7 +2185,7 @@
     }
 #if defined(WORDS_BIGENDIAN)
 #define MRGHI 0
-#define MRGL0 1
+#define MRGLO 1
 #else
 #define MRGHI 1
 #define MRGLO 0

-- 
Greetings, Michael.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] Fix compilation on BigEndian
  2009-01-05 10:22 [Qemu-devel] [PATCH] Fix compilation on BigEndian Michael Buesch
@ 2009-01-05 21:41 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2009-01-05 21:41 UTC (permalink / raw)
  To: qemu-devel

On Mon, Jan 05, 2009 at 11:22:33AM +0100, Michael Buesch wrote:
> This fixes BigEndian compilation for target-ppc.
> 
> Index: target-ppc/op_helper.c
> ===================================================================
> --- target-ppc/op_helper.c	(revision 6190)
> +++ target-ppc/op_helper.c	(working copy)
> @@ -2185,7 +2185,7 @@
>      }
>  #if defined(WORDS_BIGENDIAN)
>  #define MRGHI 0
> -#define MRGL0 1
> +#define MRGLO 1
>  #else
>  #define MRGHI 1
>  #define MRGLO 0
> 

Thanks, applied.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-05 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 10:22 [Qemu-devel] [PATCH] Fix compilation on BigEndian Michael Buesch
2009-01-05 21:41 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).