diff options
author | arnd@arndb.de <arnd@arndb.de> | 2006-06-19 14:33:17 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-21 01:01:29 -0400 |
commit | b40feec8efbe609a3a38bca1f18d3ba4d590563a (patch) | |
tree | 6c2163a85a1c26250f1fd66692fbdb745b126681 /arch/powerpc/platforms | |
parent | acf7d76827a577059636e949079021e6af6dd702 (diff) |
[POWERPC] cell: fix interrupt priority handling
Checking the priority field to test for irq validity is
completely bogus and breaks with future external interrupt
controllers.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/cell/interrupt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/interrupt.c b/arch/powerpc/platforms/cell/interrupt.c index 0a707bcabef6..f4e2d8805c9e 100644 --- a/arch/powerpc/platforms/cell/interrupt.c +++ b/arch/powerpc/platforms/cell/interrupt.c | |||
@@ -117,8 +117,7 @@ static int iic_external_get_irq(struct cbe_iic_pending_bits pending) | |||
117 | * One of these units can be connected | 117 | * One of these units can be connected |
118 | * to an external interrupt controller. | 118 | * to an external interrupt controller. |
119 | */ | 119 | */ |
120 | if (pending.prio > 0x3f || | 120 | if (pending.class != 2) |
121 | pending.class != 2) | ||
122 | break; | 121 | break; |
123 | irq = IIC_EXT_OFFSET | 122 | irq = IIC_EXT_OFFSET |
124 | + spider_get_irq(node) | 123 | + spider_get_irq(node) |