[FYI/PATCH 2/2] fix previous interrupt controller rework patch

Arnd Bergmann arnd at arndb.de
Thu Feb 23 20:46:52 EST 2006


This fixes a bug for the patch in 
http://patchwork.ozlabs.org/linuxppc64/patch?id=4188.

I still haven't received feedback on the implementation
itself of that patch, but for now lets assume that we do
it that way.

I'll submit a fixed patch for the interrupt controller
rework for inclusion 2.6.17-rc then.

--- linux-2.6.16-rc1.orig/arch/powerpc/platforms/cell/spider-pic.c
+++ linux-2.6.16-rc1/arch/powerpc/platforms/cell/spider-pic.c
@@ -196,10 +196,11 @@ void spider_init_IRQ(void)
 
 		if (strstr(compatible, "CBEA,platform-spider-pic"))
 			spider_reg = *(long *)get_property(dn,"reg", NULL);
-		else {
+		else if (strstr(compatible, "sti,platform-spider-pic")) {
 			spider_init_IRQ_hardcoded();
 			return;
-		}
+		} else
+			continue;
 
 		if (!spider_reg)
 			printk("interrupt controller does not have reg property !\n");



More information about the Linuxppc64-dev mailing list