powerpc/mpic: Fix confusion between hw_irq and virq
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 Apr 2012 17:29:34 +0000 (17:29 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Apr 2012 01:04:29 +0000 (11:04 +1000)
commit3a2b4f7c355ff1c97e4adebadf0a1aefd7c4518a
treebf2817fc3b25792e67ce95914e0939521e2cf07e
parent3027691e58bfb21f6ea2e9f1d225d11b4e2b20e2
powerpc/mpic: Fix confusion between hw_irq and virq

mpic_is_ipi() takes a virq and immediately converts it to a hw_irq.

However, one of the two call sites calls it with a ... hw_irq. The
other call site also happens to have the hw_irq at hand, so let's
change it to just take that as an argument. Also change mpic_is_tm()
for consistency.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c