From 5499b6ffac490a3a44dcb97e9cebb99f0151d696 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 22 Nov 2009 13:08:14 +0100 Subject: target-mips: rename CP0_LLAddr into lladdr The variable CP0_LLAddr represent the full lladdr, not the actual register value, which is only part of this value and depends on the CPU. Signed-off-by: Aurelien Jarno --- linux-user/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-user/main.c') 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; } -- cgit v1.2.3-55-g7522