]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: cpm2_pic: Cleanup flow type handling
authorThomas Gleixner <tglx@linutronix.de>
Fri, 25 Mar 2011 15:07:51 +0000 (16:07 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 12:48:09 +0000 (14:48 +0200)
commit856c3ff099181843d5777f0b6989bd85f9d497ab
treef5ceb1401f4ffe872086a02e021b9bd6cb870095
parent130b4f314148b7876b5ecccc2b14a4a939c13260
powerpc: cpm2_pic: 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.

Use the proper accessors for setting the irq handlers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/powerpc/sysdev/cpm2_pic.c