diff options
author | David Howells <dhowells@redhat.com> | 2010-10-27 12:28:58 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2010-10-27 12:28:58 -0400 |
commit | 6044cf1d9426dfd5cdc1e7b9cf8eaed6418e1ff6 (patch) | |
tree | 3f6f209d37328ce1635df8f5d0b5df1cef1afe30 /arch/mn10300/kernel | |
parent | 730c1fad0ee22a170d2ee76a904709ee304931c0 (diff) |
MN10300: ASB2364: Handle the IRQ multiplexer in the FPGA
Handle the IRQ multiplexer in the FPGA by implementing a cascade interrupt
driver for it.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/kernel')
-rw-r--r-- | arch/mn10300/kernel/irq.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/mn10300/kernel/irq.c b/arch/mn10300/kernel/irq.c index 2f66a45dcd18..c2e44597c22b 100644 --- a/arch/mn10300/kernel/irq.c +++ b/arch/mn10300/kernel/irq.c | |||
@@ -381,9 +381,16 @@ int show_interrupts(struct seq_file *p, void *v) | |||
381 | seq_printf(p, "%3d: ", i); | 381 | seq_printf(p, "%3d: ", i); |
382 | for_each_present_cpu(cpu) | 382 | for_each_present_cpu(cpu) |
383 | seq_printf(p, "%10u ", kstat_irqs_cpu(i, cpu)); | 383 | seq_printf(p, "%10u ", kstat_irqs_cpu(i, cpu)); |
384 | seq_printf(p, " %14s.%u", irq_desc[i].chip->name, | 384 | |
385 | (GxICR(i) & GxICR_LEVEL) >> | 385 | if (i < NR_CPU_IRQS) |
386 | GxICR_LEVEL_SHIFT); | 386 | seq_printf(p, " %14s.%u", |
387 | irq_desc[i].chip->name, | ||
388 | (GxICR(i) & GxICR_LEVEL) >> | ||
389 | GxICR_LEVEL_SHIFT); | ||
390 | else | ||
391 | seq_printf(p, " %14s", | ||
392 | irq_desc[i].chip->name); | ||
393 | |||
387 | seq_printf(p, " %s", action->name); | 394 | seq_printf(p, " %s", action->name); |
388 | 395 | ||
389 | for (action = action->next; | 396 | for (action = action->next; |