diff options
author | Paul Brook <paul@codesourcery.com> | 2009-12-11 15:38:10 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-12-11 15:38:50 +0000 |
commit | 725b8a6983215de4e510be68d120279d29ceec41 (patch) | |
tree | 4ebe476af917dced577a9ea71688f4c24506e7b5 /linux-user | |
parent | 7029a83bd6f71c6fe748220eb481f2afff3ab33f (diff) |
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 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(); |