diff options
author | 2009-12-11 15:38:10 +0000 | |
---|---|---|
committer | 2009-12-11 15:49:14 +0000 | |
commit | 2e51813417d2a60f0fa2e0e5a4707b47440b4361 (patch) | |
tree | 96bbb012d2e83655bf0a6f489a3fdf5520a68e1f /linux-user | |
parent | qemu: delete rule target on error (diff) | |
download | qemu-kvm-2e51813417d2a60f0fa2e0e5a4707b47440b4361.tar.gz qemu-kvm-2e51813417d2a60f0fa2e0e5a4707b47440b4361.tar.bz2 qemu-kvm-2e51813417d2a60f0fa2e0e5a4707b47440b4361.zip |
Fix ARM userspace strex implementation.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'linux-user')
-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 5fbcda2a3..e51539eff 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(); |