MIPS: Octeon: Simplify irq_cpu_on/offline irq chip functions
authorThomas Gleixner <tglx@linutronix.de>
Sun, 27 Mar 2011 14:04:30 +0000 (16:04 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 12:48:07 +0000 (14:48 +0200)
commit5b7cd6fd8278a754df6495fcc5cfa4dd3df42206
tree6c9024d27194ba92dc548bd0deea29eaa0664012
parent0c3263870f5f80cf7b6cb322bd8e708ce568d36b
MIPS: Octeon: Simplify irq_cpu_on/offline irq chip functions

Make use of the IRQCHIP_ONOFFLINE_ENABLED flag and remove the
wrappers. Use irqd_irq_disabled() instead of desc->status, which will
go away.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: David Daney <ddaney@caviumnetworks.com>
arch/mips/cavium-octeon/octeon-irq.c