]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: ipic: Cleanup flow type handling
authorThomas Gleixner <tglx@linutronix.de>
Fri, 25 Mar 2011 15:16:30 +0000 (16:16 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 12:48:10 +0000 (14:48 +0200)
commita52f0b4ca15993641f54f4e5f11014df418b471d
treeb556dc18f76cd469589c0401d0d576ee4ed87b8d
parent3619fcef6778a2dd2e8b840568802dc59f30d92f
powerpc: ipic: 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/ipic.c