From 725b8a6983215de4e510be68d120279d29ceec41 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 11 Dec 2009 15:38:10 +0000 Subject: Fix ARM userspace strex implementation. Signed-off-by: Paul Brook --- linux-user/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux-user') diff --git a/linux-user/main.c b/linux-user/main.c index 5fbcda2..e51539e 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(); -- cgit v1.1