提交 cf86bfdd 编写于 作者: M Marc Zyngier 提交者: Jason Cooper

irqchip: s3c24xx: Convert to handle_domain_irq

Use the new handle_domain_irq method to handle interrupts.
Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1409047421-27649-12-git-send-email-marc.zyngier@arm.comSigned-off-by: NJason Cooper <jason@lakedaemon.net>
上级 f4bc9288
...@@ -339,7 +339,6 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, ...@@ -339,7 +339,6 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc,
{ {
int pnd; int pnd;
int offset; int offset;
int irq;
pnd = __raw_readl(intc->reg_intpnd); pnd = __raw_readl(intc->reg_intpnd);
if (!pnd) if (!pnd)
...@@ -365,8 +364,7 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, ...@@ -365,8 +364,7 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc,
if (!(pnd & (1 << offset))) if (!(pnd & (1 << offset)))
offset = __ffs(pnd); offset = __ffs(pnd);
irq = irq_find_mapping(intc->domain, intc_offset + offset); handle_domain_irq(intc->domain, intc_offset + offset, regs);
handle_IRQ(irq, regs);
return true; return true;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册