aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/cevt-bcm1480.c3
-rw-r--r--arch/mips/kernel/cevt-sb1250.c3
2 files changed, 6 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)
143 143
144 action->handler = sibyte_counter_handler; 144 action->handler = sibyte_counter_handler;
145 action->flags = IRQF_DISABLED | IRQF_PERCPU; 145 action->flags = IRQF_DISABLED | IRQF_PERCPU;
146 action->mask = cpumask_of_cpu(cpu);
146 action->name = name; 147 action->name = name;
147 action->dev_id = cd; 148 action->dev_id = cd;
149
150 irq_set_affinity(irq, cpumask_of_cpu(cpu));
148 setup_irq(irq, action); 151 setup_irq(irq, action);
149} 152}
diff --git a/arch/mips/kernel/cevt-sb1250.c b/arch/mips/kernel/cevt-sb1250.c
index e2029d0fc39b..194e0f726fe8 100644
--- a/arch/mips/kernel/cevt-sb1250.c
+++ b/arch/mips/kernel/cevt-sb1250.c
@@ -142,7 +142,10 @@ void __cpuinit sb1250_clockevent_init(void)
142 142
143 action->handler = sibyte_counter_handler; 143 action->handler = sibyte_counter_handler;
144 action->flags = IRQF_DISABLED | IRQF_PERCPU; 144 action->flags = IRQF_DISABLED | IRQF_PERCPU;
145 action->mask = cpumask_of_cpu(cpu);
145 action->name = name; 146 action->name = name;
146 action->dev_id = cd; 147 action->dev_id = cd;
148
149 irq_set_affinity(irq, cpumask_of_cpu(cpu));
147 setup_irq(irq, action); 150 setup_irq(irq, action);
148} 151}