powerpc: Add virq_is_host to reduce virq_to_host usage
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:30:36 +0000 (19:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:59 +0000 (15:31 +1000)
commit3ee62d365b519c0c18c774049efcde84fe51c60c
tree7229d970675b0c5dff165d8597707ebc6e5798cc
parent9553361499f9f9e8ca8c9dae2e103f651fa48217
powerpc: Add virq_is_host to reduce virq_to_host usage

Some irq_host implementations are using virq_to_host to check if
they are the irq_host for a virtual irq.  To allow us to make space
versus time tradeoffs, replace this usage with an assertive
virq_is_host that confirms or denies the irq is associated with the
given irq_host.

Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/irq.h
arch/powerpc/kernel/irq.c
arch/powerpc/sysdev/xics/xics-common.c
This page took 0.025643 seconds and 5 git commands to generate.