aboutsummaryrefslogtreecommitdiff
path: root/hw/ppce500_spin.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 14:58:47 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 04:12:23 +0100
commitf100f0b38fe43c683f437a8fa3e449d6752f6a58 (patch)
treea39c6435ed12280f3ccd53301063ce2000f26ddd /hw/ppce500_spin.c
parent8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85 (diff)
cpus: Pass CPUState to run_on_cpu()
CPUArchState is no longer needed. Move the declaration to include/qemu/cpu.h and add documentation. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ppce500_spin.c')
-rw-r--r--hw/ppce500_spin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c
index 7f8c8428b6..c1a155bd31 100644
--- a/hw/ppce500_spin.c
+++ b/hw/ppce500_spin.c
@@ -163,7 +163,7 @@ static void spin_write(void *opaque, hwaddr addr, uint64_t value,
.spin = curspin,
};
- run_on_cpu(env, spin_kick, &kick);
+ run_on_cpu(CPU(kick.cpu), spin_kick, &kick);
}
}