projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf7d76
)
[POWERPC] cell: fix interrupt priority handling
author
arnd@arndb.de
<arnd@arndb.de>
Mon, 19 Jun 2006 18:33:17 +0000
(20:33 +0200)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 21 Jun 2006 05:01:29 +0000
(15:01 +1000)
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>
arch/powerpc/platforms/cell/interrupt.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/cell/interrupt.c
b/arch/powerpc/platforms/cell/interrupt.c
index 0a707bcabef69d7066f3084eadbc0d160214643a..f4e2d8805c9e3299cce5815506caeb7cc1fe6fb3 100644
(file)
--- 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)