diff options
author | Andreas Färber | 2013-05-17 18:26:54 +0200 |
---|---|---|
committer | Andreas Färber | 2013-06-28 13:25:12 +0200 |
commit | 60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094 (patch) | |
tree | 1b543cad3d08d8f79df37b72554bd01dcce5ebe1 /hw/ppc/prep.c | |
parent | kvm: Change cpu_synchronize_state() argument to CPUState (diff) | |
download | qemu-60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094.tar.gz qemu-60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094.tar.xz qemu-60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094.zip |
cpu: Change cpu_exit() argument to CPUState
It no longer depends on CPUArchState, so move it to qom/cpu.c.
Prepares for changing GDBState::c_cpu to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ppc/prep.c')
-rw-r--r-- | hw/ppc/prep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 4fdc1649fd..90828f2635 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -420,7 +420,7 @@ static void cpu_request_exit(void *opaque, int irq, int level) CPUPPCState *env = cpu_single_env; if (env && level) { - cpu_exit(env); + cpu_exit(CPU(ppc_env_get_cpu(env))); } } |