From: Michael Ellerman Date: Tue, 13 Oct 2009 19:44:47 +0000 (+0000) Subject: powerpc/pseries: Use irq_has_action() in eeh_disable_irq() X-Git-Tag: v2.6.33-rc1~293^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e3f837023d446924791f76fbdd4bcf8e09efcc;p=pandora-kernel.git 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 Acked-by: Grant Likely Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed