aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4m.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-17 18:17:17 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-17 18:17:17 +0000
commit19f8e5dd2bf6f4093988b13c424a7ba35f39071d (patch)
treeb2841f06b202bd249c76cdb0c139f41231bfc821 /hw/sun4m.c
parent4fddf62a74c26f8da3c5ee61600e4d61052b0610 (diff)
Only create as many per CPU timers as there are CPUs. (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3833 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4m.c')
-rw-r--r--hw/sun4m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index 693fa696ac..5a07283583 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -436,7 +436,7 @@ static void sun4m_hw_init(const struct hwdef *hwdef, int RAM_size,
hwdef->nvram_size, 8);
slavio_timer_init_all(hwdef->counter_base, slavio_irq[hwdef->clock1_irq],
- slavio_cpu_irq);
+ slavio_cpu_irq, smp_cpus);
slavio_serial_ms_kbd_init(hwdef->ms_kb_base, slavio_irq[hwdef->ms_kb_irq],
nographic);