]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: cell: Fix the irq_desc access
authorThomas Gleixner <tglx@linutronix.de>
Fri, 25 Mar 2011 15:04:41 +0000 (16:04 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 12:48:09 +0000 (14:48 +0200)
commit130b4f314148b7876b5ecccc2b14a4a939c13260
treebae218609bcf61537207587680ffa28516a37652
parent138128d711cc34f68fe92c6e39744396af8d3df9
powerpc: cell: Fix the irq_desc access

The core irq_set_type() function updates the flow type when the chip
callback returns 0. It also updates irq_data, so this can be used in
irq_ack() to check for the level bit. That avoids a redundant sparse
irq lookup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/powerpc/platforms/cell/spider-pic.c