commit | 24a3f2e82bc8cf7ed05294008794f842cf170ea2 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Fri Mar 25 16:20:15 2011 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue Mar 29 14:48:10 2011 +0200 |
tree | a0fb6efba75b1c61ce801f0965037cc2a0c8d9b0 | |
parent | 5fed97a9fdc0bc76ea2e220cf3aac0e8c7cf4b2b [diff] |
powerpc: mpic: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The new core code allows to update the type in irq_data and return IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for setting the IRQ_LEVEL flag. Retrieve the IRQ_LEVEL information from irq_data which avoids a redundant sparse irq lookup as well. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>