diff options
author | Paul Brook | 2009-12-11 16:38:10 +0100 |
---|---|---|
committer | Paul Brook | 2009-12-11 16:38:50 +0100 |
commit | 725b8a6983215de4e510be68d120279d29ceec41 (patch) | |
tree | 4ebe476af917dced577a9ea71688f4c24506e7b5 /linux-user/main.c | |
parent | microblaze: Make boot_info static. (diff) | |
download | qemu-725b8a6983215de4e510be68d120279d29ceec41.tar.gz qemu-725b8a6983215de4e510be68d120279d29ceec41.tar.xz qemu-725b8a6983215de4e510be68d120279d29ceec41.zip |
Fix ARM userspace strex implementation.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'linux-user/main.c')
-rw-r--r-- | linux-user/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 5fbcda2a38..e51539eff8 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -593,6 +593,7 @@ static int do_strex(CPUARMState *env) } rc = 0; fail: + env->regs[15] += 4; env->regs[(env->exclusive_info >> 4) & 0xf] = rc; done: end_exclusive(); |