提交 ac0e0447 编写于 作者: S Stephen Rothwell 提交者: Linus Torvalds

genirq: fix CONFIG_IRQ_EDGE_EOI_HANDLER build

Fixes these errors:

  kernel/irq/chip.c: In function 'handle_edge_eoi_irq':
  kernel/irq/chip.c:517: warning: label 'out_unlock' defined but not used
  kernel/irq/chip.c:503: error: label 'out_eoi' used but not defined
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0ce790e7
...@@ -514,7 +514,7 @@ void handle_edge_eoi_irq(unsigned int irq, struct irq_desc *desc) ...@@ -514,7 +514,7 @@ void handle_edge_eoi_irq(unsigned int irq, struct irq_desc *desc)
} while ((desc->istate & IRQS_PENDING) && } while ((desc->istate & IRQS_PENDING) &&
!irqd_irq_disabled(&desc->irq_data)); !irqd_irq_disabled(&desc->irq_data));
out_unlock: out_eoi:
chip->irq_eoi(&desc->irq_data); chip->irq_eoi(&desc->irq_data);
raw_spin_unlock(&desc->lock); raw_spin_unlock(&desc->lock);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册