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 060ef823ef..023aac33c3 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -709,10 +709,10 @@ void cpu_loop(CPUARMState *env)
/* just indicate that signals should be handled asap */
break;
case EXCP_PREFETCH_ABORT:
- addr = env->cp15.c6_data;
+ addr = env->cp15.c6_insn;
goto do_segv;
case EXCP_DATA_ABORT:
- addr = env->cp15.c6_insn;
+ addr = env->cp15.c6_data;
goto do_segv;
do_segv:
{