[PATCH 03/13] cell: fix interrupt priority handling
- From: Arnd Bergmann <arnd@xxxxxxxx>
- Date: Sun, 30 Apr 2006 01:28:15 +0200
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@xxxxxxxxxx>
---
Index: linus-2.6/arch/powerpc/platforms/cell/interrupt.c
===================================================================
--- linus-2.6.orig/arch/powerpc/platforms/cell/interrupt.c 2006-04-29 22:47:55.000000000 +0200
+++ linus-2.6/arch/powerpc/platforms/cell/interrupt.c 2006-04-29 22:53:41.000000000 +0200
@@ -136,8 +136,7 @@
* 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)
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 00/13] Cell patches for 2.6.18
- From: Arnd Bergmann
- [PATCH 00/13] Cell patches for 2.6.18
- Prev by Date: [PATCH 04/13] cell: remove broken __setup_cpu_be function
- Next by Date: [PATCH 06/13] powerpc: fix 64k pages on non-hypervisor
- Previous by thread: [PATCH 04/13] cell: remove broken __setup_cpu_be function
- Next by thread: [PATCH 06/13] powerpc: fix 64k pages on non-hypervisor
- Index(es):