diff options
author | Andreas Färber <afaerber@suse.de> | 2012-12-01 04:43:18 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-12-19 14:09:32 +0100 |
commit | a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7 (patch) | |
tree | 0b0aa565a5b174e3e177ffde155348a33de84482 /hw/ppc | |
parent | 2f9859fb49cb3c6ec876bc0bf709f28afcdd2384 (diff) | |
download | qemu-a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7.zip qemu-a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7.tar.gz qemu-a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7.tar.bz2 |
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/ppc')
-rw-r--r-- | hw/ppc/e500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index af6b671..5592359 100644 --- a/hw/ppc/e500.c +++ b/hw/ppc/e500.c @@ -495,7 +495,7 @@ void ppce500_init(PPCE500Params *params) env->mpic_cpu_base = MPC8544_CCSRBAR_BASE + MPC8544_MPIC_REGS_OFFSET + 0x20000; - ppc_booke_timers_init(env, 400000000, PPC_TIMER_E500); + ppc_booke_timers_init(cpu, 400000000, PPC_TIMER_E500); /* Register reset handler */ if (!i) { |