Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116413
b: refs/heads/master
c: 3bf52a4
h: refs/heads/master
i:
  116411: b15c25d
v: v3
  • Loading branch information
Ingo Molnar committed Oct 16, 2008
1 parent 6854c86 commit c58a2a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08678b0841267c1d00d771fe01548d86043d065e
refs/heads/master: 3bf52a4df3ccd25d4154797977c556a2a8b3bc1e
10 changes: 10 additions & 0 deletions trunk/kernel/irq/autoprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ unsigned long probe_irq_on(void)
*/
for (i = nr_irqs-1; i > 0; i--) {
desc = irq_to_desc(i);
if (!desc)
continue;

spin_lock_irq(&desc->lock);
if (!desc->action && !(desc->status & IRQ_NOPROBE)) {
Expand Down Expand Up @@ -70,6 +72,8 @@ unsigned long probe_irq_on(void)
*/
for (i = nr_irqs-1; i > 0; i--) {
desc = irq_to_desc(i);
if (!desc)
continue;

spin_lock_irq(&desc->lock);
if (!desc->action && !(desc->status & IRQ_NOPROBE)) {
Expand All @@ -93,6 +97,8 @@ unsigned long probe_irq_on(void)
unsigned int status;

desc = irq_to_desc(i);
if (!desc)
continue;
spin_lock_irq(&desc->lock);
status = desc->status;

Expand Down Expand Up @@ -134,6 +140,8 @@ unsigned int probe_irq_mask(unsigned long val)
struct irq_desc *desc = irq_to_desc(i);
unsigned int status;

if (!desc)
continue;
spin_lock_irq(&desc->lock);
status = desc->status;

Expand Down Expand Up @@ -177,6 +185,8 @@ int probe_irq_off(unsigned long val)
struct irq_desc *desc = irq_to_desc(i);
unsigned int status;

if (!desc)
continue;
spin_lock_irq(&desc->lock);
status = desc->status;

Expand Down

0 comments on commit c58a2a5

Please sign in to comment.