aboutsummaryrefslogtreecommitdiff
path: root/target-openrisc/exception.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-27 17:52:12 +0200
committerAndreas Färber <afaerber@suse.de>2014-03-13 19:20:47 +0100
commit5638d180d6c469fc4c56127a3c717e8b9f27d925 (patch)
tree7c8e9eb4f24752077c951c543ff776ee191e81fc /target-openrisc/exception.c
parentd5a11fefef1eeed86a8f06021067ba9990729a5a (diff)
cpu-exec: Change cpu_loop_exit() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-openrisc/exception.c')
-rw-r--r--target-openrisc/exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-openrisc/exception.c b/target-openrisc/exception.c
index b96f3f8963..74652a58f6 100644
--- a/target-openrisc/exception.c
+++ b/target-openrisc/exception.c
@@ -25,5 +25,5 @@ void QEMU_NORETURN raise_exception(OpenRISCCPU *cpu, uint32_t excp)
CPUState *cs = CPU(cpu);
cs->exception_index = excp;
- cpu_loop_exit(&cpu->env);
+ cpu_loop_exit(cs);
}