summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-05 21:40:27 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-05 21:40:27 +0000
commitb392e756c12ff8ffe4b21d49d31e1db6f15bdf6a (patch)
tree5c8fe4d98da6877c8f147841c6136c94d91f875b /target-ppc
parent530e7615ce3c01882e582c84dc6304ab98a3d5c5 (diff)
downloadqemu-b392e756c12ff8ffe4b21d49d31e1db6f15bdf6a.zip
target-ppc: fix compilation on BigEndian
This fixes BigEndian compilation for target-ppc. (Michael Buesch) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6193 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 80bf8015f2..5e40e42ea1 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -2185,7 +2185,7 @@ void helper_vmladduhm (ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b, ppc_avr_t *c)
}
#if defined(WORDS_BIGENDIAN)
#define MRGHI 0
-#define MRGL0 1
+#define MRGLO 1
#else
#define MRGHI 1
#define MRGLO 0