aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/irq.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-10-12 09:09:06 -0400
committerMichal Marek <mmarek@suse.cz>2010-10-12 09:09:06 -0400
commit239060b93bb30a4ad55f1ecaa512464a035cc5ba (patch)
tree77f79810e57d4fc24356eca0cd6db463e8994128 /arch/alpha/kernel/irq.c
parent1408b15b98635a13bad2e2a50b3c2ae2ccdf625b (diff)
parente9203c988234aa512bd45ca32b52e21c7bbfc414 (diff)
Merge branch 'kbuild/rc-fixes' into kbuild/kconfig
We need to revert the temporary hack in 71ebc01, hence the merge.
Diffstat (limited to 'arch/alpha/kernel/irq.c')
-rw-r--r--arch/alpha/kernel/irq.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c
index 7f912ba3d9ad..fe912984d9b1 100644
--- a/arch/alpha/kernel/irq.c
+++ b/arch/alpha/kernel/irq.c
@@ -31,6 +31,7 @@
31#include <asm/uaccess.h> 31#include <asm/uaccess.h>
32 32
33volatile unsigned long irq_err_count; 33volatile unsigned long irq_err_count;
34DEFINE_PER_CPU(unsigned long, irq_pmi_count);
34 35
35void ack_bad_irq(unsigned int irq) 36void ack_bad_irq(unsigned int irq)
36{ 37{
@@ -63,9 +64,7 @@ int irq_select_affinity(unsigned int irq)
63int 64int
64show_interrupts(struct seq_file *p, void *v) 65show_interrupts(struct seq_file *p, void *v)
65{ 66{
66#ifdef CONFIG_SMP
67 int j; 67 int j;
68#endif
69 int irq = *(loff_t *) v; 68 int irq = *(loff_t *) v;
70 struct irqaction * action; 69 struct irqaction * action;
71 unsigned long flags; 70 unsigned long flags;
@@ -112,6 +111,10 @@ unlock:
112 seq_printf(p, "%10lu ", cpu_data[j].ipi_count); 111 seq_printf(p, "%10lu ", cpu_data[j].ipi_count);
113 seq_putc(p, '\n'); 112 seq_putc(p, '\n');
114#endif 113#endif
114 seq_puts(p, "PMI: ");
115 for_each_online_cpu(j)
116 seq_printf(p, "%10lu ", per_cpu(irq_pmi_count, j));
117 seq_puts(p, " Performance Monitoring\n");
115 seq_printf(p, "ERR: %10lu\n", irq_err_count); 118 seq_printf(p, "ERR: %10lu\n", irq_err_count);
116 } 119 }
117 return 0; 120 return 0;