bfin: Use proper accessors in trace
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
43f2f1154a
commit
28a283aae3
@ -912,10 +912,11 @@ void show_regs(struct pt_regs *fp)
|
|||||||
/* if no interrupts are going off, don't print this out */
|
/* if no interrupts are going off, don't print this out */
|
||||||
if (fp->ipend & ~0x3F) {
|
if (fp->ipend & ~0x3F) {
|
||||||
for (i = 0; i < (NR_IRQS - 1); i++) {
|
for (i = 0; i < (NR_IRQS - 1); i++) {
|
||||||
|
struct irq_desc *desc = irq_to_desc(i);
|
||||||
if (!in_atomic)
|
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)
|
if (!action)
|
||||||
goto unlock;
|
goto unlock;
|
||||||
|
|
||||||
@ -928,7 +929,7 @@ void show_regs(struct pt_regs *fp)
|
|||||||
pr_cont("\n");
|
pr_cont("\n");
|
||||||
unlock:
|
unlock:
|
||||||
if (!in_atomic)
|
if (!in_atomic)
|
||||||
raw_spin_unlock_irqrestore(&irq_desc[i].lock, flags);
|
raw_spin_unlock_irqrestore(&desc->lock, flags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user