Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225871
b: refs/heads/master
c: 46c48f2
h: refs/heads/master
i:
  225869: 9c916fd
  225867: f37eb42
  225863: 26ddb2f
  225855: 79e4c24
v: v3
  • Loading branch information
Russell King committed Dec 20, 2010
1 parent a25932c commit 7c88fc4
Show file tree
Hide file tree
Showing 3 changed files with 6 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: ec405ea9fe5fdeb40824edba7082803b3e98f176
refs/heads/master: 46c48f222f568decb881a552caa1c8f9c96c521e
3 changes: 3 additions & 0 deletions trunk/arch/arm/include/asm/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ typedef struct {

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */

#define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++
#define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member)

#if NR_IRQS > 512
#define HARDIRQ_BITS 10
#elif NR_IRQS > 256
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ asmlinkage void __exception do_local_timer(struct pt_regs *regs)
int cpu = smp_processor_id();

if (local_timer_ack()) {
irq_stat[cpu].local_timer_irqs++;
__inc_irq_stat(cpu, local_timer_irqs);
ipi_timer();
}

Expand All @@ -437,7 +437,7 @@ void show_local_irqs(struct seq_file *p)
seq_printf(p, "LOC: ");

for_each_present_cpu(cpu)
seq_printf(p, "%10u ", irq_stat[cpu].local_timer_irqs);
seq_printf(p, "%10u ", __get_irq_stat(cpu, local_timer_irqs));

seq_putc(p, '\n');
}
Expand Down

0 comments on commit 7c88fc4

Please sign in to comment.