Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189874
b: refs/heads/master
c: daecbf5
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Apr 13, 2010
1 parent 9b2963d commit 261b83d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: f8e8a8e8cba3359df2a16c17d59eedb08adf3b43
refs/heads/master: daecbf58a509bc27c112647e825df763c3e3b0f4
2 changes: 1 addition & 1 deletion trunk/arch/sparc/include/asm/cpudata_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ typedef struct {
unsigned int __nmi_count;
unsigned long clock_tick; /* %tick's per second */
unsigned long __pad;
unsigned int __pad1;
unsigned int irq0_irqs;
unsigned int __pad2;

/* Dcache line 2, rarely used */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/sparc/kernel/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ static void die_nmi(const char *str, struct pt_regs *regs, int do_panic)
notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
{
unsigned int sum, touched = 0;
int cpu = smp_processor_id();

clear_softint(1 << irq);

Expand All @@ -106,7 +105,7 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
else
pcr_ops->write(PCR_PIC_PRIV);

sum = kstat_irqs_cpu(0, cpu);
sum = local_cpu_data().irq0_irqs;
if (__get_cpu_var(nmi_touch)) {
__get_cpu_var(nmi_touch) = 0;
touched = 1;
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/sparc/kernel/time_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ void timer_interrupt(int irq, struct pt_regs *regs)

irq_enter();

local_cpu_data().irq0_irqs++;
kstat_incr_irqs_this_cpu(0, irq_to_desc(0));

if (unlikely(!evt->event_handler)) {
Expand Down

0 comments on commit 261b83d

Please sign in to comment.