summaryrefslogtreecommitdiff
path: root/hw/ppc440_bamboo.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-12-01 04:43:18 +0100
committerAndreas Färber <afaerber@suse.de>2012-12-19 14:09:32 +0100
commita34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7 (patch)
tree0b0aa565a5b174e3e177ffde155348a33de84482 /hw/ppc440_bamboo.c
parent2f9859fb49cb3c6ec876bc0bf709f28afcdd2384 (diff)
downloadqemu-a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7.tar.gz
qemu-a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7.tar.bz2
qemu-a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7.zip
ppc_booke: Pass PowerPCCPU to ppc_booke_timers_init()
Cleans up after passing PowerPCCPU to timer callbacks. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ppc440_bamboo.c')
-rw-r--r--hw/ppc440_bamboo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index cc85607cb7..d9f0f81d62 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -195,7 +195,7 @@ static void bamboo_init(QEMUMachineInitArgs *args)
env = &cpu->env;
qemu_register_reset(main_cpu_reset, cpu);
- ppc_booke_timers_init(env, 400000000, 0);
+ ppc_booke_timers_init(cpu, 400000000, 0);
ppc_dcr_init(env, NULL, NULL);
/* interrupt controller */