diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-03 04:34:15 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-10-31 01:02:45 +0100 |
commit | c08d7424d600dce915a5506e95d55a359c243c66 (patch) | |
tree | f582f50c912f4558ac4f8d93929970484b013ba8 /target-ppc/kvm.c | |
parent | d5a6814697014561dd0a2e2871df0e6c62a0ce59 (diff) | |
download | hqemu-c08d7424d600dce915a5506e95d55a359c243c66.zip hqemu-c08d7424d600dce915a5506e95d55a359c243c66.tar.gz |
cpus: Pass CPUState to qemu_cpu_kick()
CPUArchState is no longer needed there.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-ppc/kvm.c')
-rw-r--r-- | target-ppc/kvm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index d7d8e8f..6aacff0 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -76,9 +76,8 @@ static QEMUTimer *idle_timer; static void kvm_kick_cpu(void *opaque) { PowerPCCPU *cpu = opaque; - CPUPPCState *env = &cpu->env; - qemu_cpu_kick(env); + qemu_cpu_kick(CPU(cpu)); } int kvm_arch_init(KVMState *s) |