Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243298
b: refs/heads/master
c: 28a283a
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent e300a8b commit e075d7e
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 43f2f1154aecce40e6ced16b46dab47fbb4de866
refs/heads/master: 28a283aae3bdd5088246ca830247ec8393e3e06b
7 changes: 4 additions & 3 deletions trunk/arch/blackfin/kernel/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,10 +912,11 @@ void show_regs(struct pt_regs *fp)
/* if no interrupts are going off, don't print this out */
if (fp->ipend & ~0x3F) {
for (i = 0; i < (NR_IRQS - 1); i++) {
struct irq_desc *desc = irq_to_desc(i);
if (!in_atomic)
raw_spin_lock_irqsave(&irq_desc[i].lock, flags);
raw_spin_lock_irqsave(&desc->lock, flags);

action = irq_desc[i].action;
action = desc->action;
if (!action)
goto unlock;

Expand All @@ -928,7 +929,7 @@ void show_regs(struct pt_regs *fp)
pr_cont("\n");
unlock:
if (!in_atomic)
raw_spin_unlock_irqrestore(&irq_desc[i].lock, flags);
raw_spin_unlock_irqrestore(&desc->lock, flags);
}
}

Expand Down

0 comments on commit e075d7e

Please sign in to comment.