Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116553
b: refs/heads/master
c: 63d659d
h: refs/heads/master
i:
  116551: fdc2999
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Oct 16, 2008
1 parent bd5ace7 commit 3093967
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 10e580842ec8e53dddf62e1ab1871f4906477376
refs/heads/master: 63d659d556f145d33798b8ad19ced10c254fe445
8 changes: 4 additions & 4 deletions trunk/kernel/irq/autoprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ EXPORT_SYMBOL(probe_irq_mask);
*/
int probe_irq_off(unsigned long val)
{
int i, irq_found = 0, nr_irqs = 0;
int i, irq_found = 0, nr_of_irqs = 0;
struct irq_desc *desc;
unsigned int status;

Expand All @@ -171,9 +171,9 @@ int probe_irq_off(unsigned long val)

if (status & IRQ_AUTODETECT) {
if (!(status & IRQ_WAITING)) {
if (!nr_irqs)
if (!nr_of_irqs)
irq_found = i;
nr_irqs++;
nr_of_irqs++;
}
desc->status = status & ~IRQ_AUTODETECT;
desc->chip->shutdown(i);
Expand All @@ -182,7 +182,7 @@ int probe_irq_off(unsigned long val)
}
mutex_unlock(&probing_active);

if (nr_irqs > 1)
if (nr_of_irqs > 1)
irq_found = -irq_found;

return irq_found;
Expand Down

0 comments on commit 3093967

Please sign in to comment.