提交 588e0508 编写于 作者: B Benjamin Herrenschmidt

powerpc/8xx: Fix build breakage with sparse irq changes

Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 cc393317
......@@ -222,7 +222,7 @@ static void cpm_cascade(unsigned int irq, struct irq_desc *desc)
int cascade_irq;
if ((cascade_irq = cpm_get_irq()) >= 0) {
struct irq_desc *cdesc = irq_desc + cascade_irq;
struct irq_desc *cdesc = irq_to_desc(cascade_irq);
generic_handle_irq(cascade_irq);
cdesc->chip->eoi(cascade_irq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册