Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138827
b: refs/heads/master
c: ce2d8bf
h: refs/heads/master
i:
  138825: c08a0ad
  138823: 0086e2c
v: v3
  • Loading branch information
Jaswinder Singh Rajput committed Mar 22, 2009
1 parent 09e415a commit 49b0d56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: f2362e6f1b9c5c168e5b4159afb4853ba467965e
refs/heads/master: ce2d8bfd44c01fc9b22d64617b7e520e99095f33
8 changes: 0 additions & 8 deletions trunk/arch/x86/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,23 +133,15 @@ int show_interrupts(struct seq_file *p, void *v)
return 0;

spin_lock_irqsave(&desc->lock, flags);
#ifndef CONFIG_SMP
any_count = kstat_irqs(i);
#else
for_each_online_cpu(j)
any_count |= kstat_irqs_cpu(i, j);
#endif
action = desc->action;
if (!action && !any_count)
goto out;

seq_printf(p, "%*d: ", prec, i);
#ifndef CONFIG_SMP
seq_printf(p, "%10u ", kstat_irqs(i));
#else
for_each_online_cpu(j)
seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
#endif
seq_printf(p, " %8s", desc->chip->name);
seq_printf(p, "-%-8s", desc->name);

Expand Down

0 comments on commit 49b0d56

Please sign in to comment.