diff options
Diffstat (limited to 'arch/microblaze/kernel/irq.c')
-rw-r--r-- | arch/microblaze/kernel/irq.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/arch/microblaze/kernel/irq.c b/arch/microblaze/kernel/irq.c index a9345fb4906a..ce7ac8435d5c 100644 --- a/arch/microblaze/kernel/irq.c +++ b/arch/microblaze/kernel/irq.c | |||
@@ -47,46 +47,6 @@ next_irq: | |||
47 | trace_hardirqs_on(); | 47 | trace_hardirqs_on(); |
48 | } | 48 | } |
49 | 49 | ||
50 | int show_interrupts(struct seq_file *p, void *v) | ||
51 | { | ||
52 | int i = *(loff_t *) v, j; | ||
53 | struct irqaction *action; | ||
54 | unsigned long flags; | ||
55 | |||
56 | if (i == 0) { | ||
57 | seq_printf(p, " "); | ||
58 | for_each_online_cpu(j) | ||
59 | seq_printf(p, "CPU%-8d", j); | ||
60 | seq_putc(p, '\n'); | ||
61 | } | ||
62 | |||
63 | if (i < nr_irq) { | ||
64 | raw_spin_lock_irqsave(&irq_desc[i].lock, flags); | ||
65 | action = irq_desc[i].action; | ||
66 | if (!action) | ||
67 | goto skip; | ||
68 | seq_printf(p, "%3d: ", i); | ||
69 | #ifndef CONFIG_SMP | ||
70 | seq_printf(p, "%10u ", kstat_irqs(i)); | ||
71 | #else | ||
72 | for_each_online_cpu(j) | ||
73 | seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]); | ||
74 | #endif | ||
75 | seq_printf(p, " %8s", irq_desc[i].status & | ||
76 | IRQ_LEVEL ? "level" : "edge"); | ||
77 | seq_printf(p, " %8s", irq_desc[i].chip->name); | ||
78 | seq_printf(p, " %s", action->name); | ||
79 | |||
80 | for (action = action->next; action; action = action->next) | ||
81 | seq_printf(p, ", %s", action->name); | ||
82 | |||
83 | seq_putc(p, '\n'); | ||
84 | skip: | ||
85 | raw_spin_unlock_irqrestore(&irq_desc[i].lock, flags); | ||
86 | } | ||
87 | return 0; | ||
88 | } | ||
89 | |||
90 | /* MS: There is no any advance mapping mechanism. We are using simple 32bit | 50 | /* MS: There is no any advance mapping mechanism. We are using simple 32bit |
91 | intc without any cascades or any connection that's why mapping is 1:1 */ | 51 | intc without any cascades or any connection that's why mapping is 1:1 */ |
92 | unsigned int irq_create_mapping(struct irq_host *host, irq_hw_number_t hwirq) | 52 | unsigned int irq_create_mapping(struct irq_host *host, irq_hw_number_t hwirq) |