diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-03 14:58:47 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-10-31 04:12:23 +0100 |
commit | f100f0b38fe43c683f437a8fa3e449d6752f6a58 (patch) | |
tree | a39c6435ed12280f3ccd53301063ce2000f26ddd /hw/ppce500_spin.c | |
parent | 8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85 (diff) | |
download | qemu-f100f0b38fe43c683f437a8fa3e449d6752f6a58.zip qemu-f100f0b38fe43c683f437a8fa3e449d6752f6a58.tar.gz qemu-f100f0b38fe43c683f437a8fa3e449d6752f6a58.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c index 7f8c842..c1a155b 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); } } |