Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b40feec8 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul Mackerras
Browse files

[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: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent acf7d768
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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)