aboutsummaryrefslogtreecommitdiffstats
path: root/target-sparc/op_mem.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-30 22:39:04 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-30 22:39:04 +0000
commitaf7bf89b1f525bb684f48ed0e847ad2d2d11c5e5 (patch)
treed82662323af4abbcc79a96d01940ddb39f89fe34 /target-sparc/op_mem.h
parent49be80301540be4445b2dc58d050a063988c85b4 (diff)
initial sparc64 support - sparc fixes (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1251 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op_mem.h')
-rw-r--r--target-sparc/op_mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/op_mem.h b/target-sparc/op_mem.h
index 995eb27d7..9f6ecefd8 100644
--- a/target-sparc/op_mem.h
+++ b/target-sparc/op_mem.h
@@ -36,7 +36,7 @@ void OPPROTO glue(op_ldstub, MEMSUFFIX)(void)
void OPPROTO glue(op_swap, MEMSUFFIX)(void)
{
- unsigned int tmp = glue(ldl, MEMSUFFIX)(T0);
+ target_ulong tmp = glue(ldl, MEMSUFFIX)(T0);
glue(stl, MEMSUFFIX)(T0, T1); /* XXX: Should be Atomically */
T1 = tmp;
}