summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/tsi108_pci.c
diff options
context:
space:
mode:
authorMichael Ellerman2009-10-13 21:44:47 +0200
committerBenjamin Herrenschmidt2009-10-30 07:20:54 +0100
commit59e3f837023d446924791f76fbdd4bcf8e09efcc (patch)
tree505de49defb6e5f00d491d47b8896384b9e3db35 /arch/powerpc/sysdev/tsi108_pci.c
parentpowerpc: Make NR_IRQS a CONFIG option (diff)
downloadkernel-qcow2-linux-59e3f837023d446924791f76fbdd4bcf8e09efcc.tar.gz
kernel-qcow2-linux-59e3f837023d446924791f76fbdd4bcf8e09efcc.tar.xz
kernel-qcow2-linux-59e3f837023d446924791f76fbdd4bcf8e09efcc.zip
powerpc/pseries: Use irq_has_action() in eeh_disable_irq()
Rather than open-coding our own check, use irq_has_action() to check if an irq has an action - ie. is "in use". irq_has_action() doesn't take the descriptor lock, but it shouldn't matter - we're just using it as an indicator that the irq is in use. disable_irq_nosync() will take the descriptor lock before doing anything also. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/tsi108_pci.c')
0 files changed, 0 insertions, 0 deletions