summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-10-30 08:59:44 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-10-30 09:21:38 +0300
commit588e050887c5f00a39b056848ea58c8b496beab0 (patch)
treea13acb9f8398da474155d3ae6151048935aefe89 /arch/powerpc/platforms
parentcc393317c42ab75cc3ac36548a6b85ce60460c3f (diff)
downloadlinux-588e050887c5f00a39b056848ea58c8b496beab0.tar.xz
powerpc/8xx: Fix build breakage with sparse irq changes
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/8xx/m8xx_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/8xx/m8xx_setup.c b/arch/powerpc/platforms/8xx/m8xx_setup.c
index 385acfc48397..242954c4293f 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);