mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
[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>
This commit is contained in:
parent
acf7d76827
commit
b40feec8ef
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ static int iic_external_get_irq(struct cbe_iic_pending_bits pending)
|
||||||
* One of these units can be connected
|
* One of these units can be connected
|
||||||
* to an external interrupt controller.
|
* to an external interrupt controller.
|
||||||
*/
|
*/
|
||||||
if (pending.prio > 0x3f ||
|
if (pending.class != 2)
|
||||||
pending.class != 2)
|
|
||||||
break;
|
break;
|
||||||
irq = IIC_EXT_OFFSET
|
irq = IIC_EXT_OFFSET
|
||||||
+ spider_get_irq(node)
|
+ spider_get_irq(node)
|
||||||
|
|
Loading…
Add table
Reference in a new issue