Subject: [PATCH] powerpc/8xx: Fix build breakage with sparse irq changes

From: Benjamin Herrenschmidt <[email-masked]>
Date: Fri, 30 Oct 2009 17:19:57 +1100

Signed-off-by: Benjamin Herrenschmidt <[email-masked]>
---

Sticking that on top of my -next branch

diff --git a/arch/powerpc/platforms/8xx/m8xx_setup.c b/arch/powerpc/platforms/8xx/m8xx_setup.c
index 385acfc..242954c 100644
--- a/arch/powerpc/platforms/8xx/m8xx_setup.c
+++ b/arch/powerpc/platforms/8xx/m8xx_setup.c
@@ -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);
-- 
1.6.1.2.14.gf26b5