aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc405_uc.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/ppc405_uc.c
parent2f9859fb49cb3c6ec876bc0bf709f28afcdd2384 (diff)
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/ppc405_uc.c')
-rw-r--r--hw/ppc405_uc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc405_uc.c b/hw/ppc405_uc.c
index 373b8f3324..fe71784cdc 100644
--- a/hw/ppc405_uc.c
+++ b/hw/ppc405_uc.c
@@ -2482,7 +2482,7 @@ CPUPPCState *ppc405ep_init(MemoryRegion *address_space_mem,
/* OBP arbitrer */
ppc4xx_opba_init(0xef600600);
/* Initialize timers */
- ppc_booke_timers_init(env, sysclk, 0);
+ ppc_booke_timers_init(cpu, sysclk, 0);
/* Universal interrupt controller */
irqs = g_malloc0(sizeof(qemu_irq) * PPCUIC_OUTPUT_NB);
irqs[PPCUIC_OUTPUT_INT] =