aboutsummaryrefslogtreecommitdiff
path: root/hw/virtex_ml507.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/virtex_ml507.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/virtex_ml507.c')
-rw-r--r--hw/virtex_ml507.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c
index 6ab8fee0c1..1a19cd2d08 100644
--- a/hw/virtex_ml507.c
+++ b/hw/virtex_ml507.c
@@ -94,7 +94,7 @@ static PowerPCCPU *ppc440_init_xilinx(ram_addr_t *ram_size,
}
env = &cpu->env;
- ppc_booke_timers_init(env, sysclk, 0/* no flags */);
+ ppc_booke_timers_init(cpu, sysclk, 0/* no flags */);
ppc_dcr_init(env, NULL, NULL);