aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4m.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 04:34:15 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 01:02:45 +0100
commitc08d7424d600dce915a5506e95d55a359c243c66 (patch)
treef582f50c912f4558ac4f8d93929970484b013ba8 /hw/sun4m.c
parentd5a6814697014561dd0a2e2871df0e6c62a0ce59 (diff)
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 'hw/sun4m.c')
-rw-r--r--hw/sun4m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index 02673b228e..1a786762aa 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -259,7 +259,7 @@ static void cpu_kick_irq(SPARCCPU *cpu)
env->halted = 0;
cpu_check_irqs(env);
- qemu_cpu_kick(env);
+ qemu_cpu_kick(CPU(cpu));
}
static void cpu_set_irq(void *opaque, int irq, int level)