Skip to content

Commit

Permalink
[MIPS] Sibyte: pin timer interrupt to their cores.
Browse files Browse the repository at this point in the history
Or strange things will happen.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
ralfbaechle committed Nov 15, 2007
1 parent a57c228 commit 07a80e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/kernel/cevt-bcm1480.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
3 changes: 3 additions & 0 deletions arch/mips/kernel/cevt-sb1250.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ void __cpuinit sb1250_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);
}

0 comments on commit 07a80e4

Please sign in to comment.