]> git.proxmox.com Git - mirror_qemu.git/commit
hw/mips_malta: remove redundant irq and clock init
authorLeon Alrae <leon.alrae@imgtec.com>
Tue, 15 Mar 2016 09:59:33 +0000 (09:59 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Wed, 30 Mar 2016 08:13:59 +0000 (09:13 +0100)
commitdc520a7dee0a9307e844eb6c5d4b21482bf52fcd
tree631041c0e4e82fcd55f2493bca48aa2278b60758
parentcc518af0b2df156b68551cb1585a9db17c2b0084
hw/mips_malta: remove redundant irq and clock init

Global smp_cpus is never zero (even if user provides -smp 0), thus clocks
and irqs are always initialized for each created CPU in the loop at the
beginning of mips_malta_init.

These two lines cause a leak of already allocated timer and irqs for the
first CPU - remove them.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
hw/mips/mips_malta.c