Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207281
b: refs/heads/master
c: 65d9206
h: refs/heads/master
i:
  207279: 5339eaa
v: v3
  • Loading branch information
Michael Cree authored and Linus Torvalds committed Aug 10, 2010
1 parent 19cd5ca commit 5b29ef5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7624ee72aa09334af072853457a5d46d9901c3f8
refs/heads/master: 65d920646a1c720c5ba95b7643ab1b46167d9e6a
1 change: 1 addition & 0 deletions trunk/arch/alpha/include/asm/hw_irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@


extern volatile unsigned long irq_err_count;
DECLARE_PER_CPU(unsigned long, irq_pmi_count);

#ifdef CONFIG_ALPHA_GENERIC
#define ACTUAL_NR_IRQS alpha_mv.nr_irqs
Expand Down
7 changes: 5 additions & 2 deletions trunk/arch/alpha/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <asm/uaccess.h>

volatile unsigned long irq_err_count;
DEFINE_PER_CPU(unsigned long, irq_pmi_count);

void ack_bad_irq(unsigned int irq)
{
Expand Down Expand Up @@ -63,9 +64,7 @@ int irq_select_affinity(unsigned int irq)
int
show_interrupts(struct seq_file *p, void *v)
{
#ifdef CONFIG_SMP
int j;
#endif
int irq = *(loff_t *) v;
struct irqaction * action;
unsigned long flags;
Expand Down Expand Up @@ -112,6 +111,10 @@ show_interrupts(struct seq_file *p, void *v)
seq_printf(p, "%10lu ", cpu_data[j].ipi_count);
seq_putc(p, '\n');
#endif
seq_puts(p, "PMI: ");
for_each_online_cpu(j)
seq_printf(p, "%10lu ", per_cpu(irq_pmi_count, j));
seq_puts(p, " Performance Monitoring\n");
seq_printf(p, "ERR: %10lu\n", irq_err_count);
}
return 0;
Expand Down

0 comments on commit 5b29ef5

Please sign in to comment.