aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index bcc36f256b..67336d71ff 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1849,7 +1849,7 @@ static int do_store_exclusive(CPUMIPSState *env)
int reg;
int d;
- addr = env->CP0_LLAddr;
+ addr = env->lladdr;
page_addr = addr & TARGET_PAGE_MASK;
start_exclusive();
mmap_lock();
@@ -1879,7 +1879,7 @@ static int do_store_exclusive(CPUMIPSState *env)
}
}
}
- env->CP0_LLAddr = -1;
+ env->lladdr = -1;
if (!segv) {
env->active_tc.PC += 4;
}