diff options
author | arnd@arndb.de <arnd@arndb.de> | 2006-06-19 20:33:17 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-21 15:01:29 +1000 |
commit | b40feec8efbe609a3a38bca1f18d3ba4d590563a (patch) | |
tree | 6c2163a85a1c26250f1fd66692fbdb745b126681 | |
parent | acf7d76827a577059636e949079021e6af6dd702 (diff) | |
download | talos-op-linux-b40feec8efbe609a3a38bca1f18d3ba4d590563a.tar.gz talos-op-linux-b40feec8efbe609a3a38bca1f18d3ba4d590563a.zip |
[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>
-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) * One of these units can be connected * to an external interrupt controller. */ - if (pending.prio > 0x3f || - pending.class != 2) + if (pending.class != 2) break; irq = IIC_EXT_OFFSET + spider_get_irq(node) |