]> git.karo-electronics.de Git - karo-tx-linux.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)
commita28ab38c440d0391d8a3673514e4cfb079445309
treef5ceb1401f4ffe872086a02e021b9bd6cb870095
parent00e70bad1abba1f96f7b9e6454b222f393e5281f
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