[VOYAGER] clockevents driver: bring voyager in to line
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 30 Apr 2007 16:30:10 +0000 (11:30 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 1 May 2007 15:07:20 +0000 (10:07 -0500)
The irq0 timer interrupt should be initiallised identically with
mach-default.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
arch/i386/mach-voyager/setup.c

index cfa16c1..447bb10 100644 (file)
@@ -40,10 +40,16 @@ void __init trap_init_hook(void)
 {
 }
 
-static struct irqaction irq0  = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL};
+static struct irqaction irq0  = {
+       .handler = timer_interrupt,
+       .flags = IRQF_DISABLED | IRQF_NOBALANCING,
+       .mask = CPU_MASK_NONE,
+       .name = "timer"
+};
 
 void __init time_init_hook(void)
 {
+       irq0.mask = cpumask_of_cpu(safe_smp_processor_id());
        setup_irq(0, &irq0);
 }