summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/cevt-bcm1480.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-11-05 00:18:05 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-11-15 23:21:48 +0000
commit07a80e49240ff57bccc3c65944d35947c3d33697 (patch)
tree9a90258c6f5f060ac3fd5f6f827907f421e4637b /arch/mips/kernel/cevt-bcm1480.c
parenta57c228935fd55c4a1cf7c0b7823537c81914000 (diff)
[MIPS] Sibyte: pin timer interrupt to their cores.
Or strange things will happen. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cevt-bcm1480.c')
-rw-r--r--arch/mips/kernel/cevt-bcm1480.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/cevt-bcm1480.c b/arch/mips/kernel/cevt-bcm1480.c
index 21e6d63eb4d1..f6fcc62ade3a 100644
--- a/arch/mips/kernel/cevt-bcm1480.c
+++ b/arch/mips/kernel/cevt-bcm1480.c
@@ -143,7 +143,10 @@ void __cpuinit sb1480_clockevent_init(void)
action->handler = sibyte_counter_handler;
action->flags = IRQF_DISABLED | IRQF_PERCPU;
+ action->mask = cpumask_of_cpu(cpu);
action->name = name;
action->dev_id = cd;
+
+ irq_set_affinity(irq, cpumask_of_cpu(cpu));
setup_irq(irq, action);
}