summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2011-05-10 19:30:40 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 15:32:01 +1000
commit1e8c23013ed0d535e531b3b9cc30200e884f3ff0 (patch)
tree782c34bc7046e8a92e6e94c5cd262376aacb89cd /arch/powerpc/kernel
parent3ee62d365b519c0c18c774049efcde84fe51c60c (diff)
downloadblackbird-op-linux-1e8c23013ed0d535e531b3b9cc30200e884f3ff0.tar.gz
blackbird-op-linux-1e8c23013ed0d535e531b3b9cc30200e884f3ff0.zip
powerpc: Remove virq_to_host
The only references to the irq_map[].host field are internal to arch/powerpc/kernel/irq.c 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>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/irq.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 73cf29078fef..4368b5ed5604 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -516,12 +516,6 @@ bool virq_is_host(unsigned int virq, struct irq_host *host)
}
EXPORT_SYMBOL_GPL(virq_is_host);
-struct irq_host *virq_to_host(unsigned int virq)
-{
- return irq_map[virq].host;
-}
-EXPORT_SYMBOL_GPL(virq_to_host);
-
static int default_irq_host_match(struct irq_host *h, struct device_node *np)
{
return h->of_node != NULL && h->of_node == np;
OpenPOWER on IntegriCloud