[PATCH] powerpc/cpm2: make cpm2_pic the default host
Wolfram Sang
w.sang at pengutronix.de
Fri May 29 18:31:33 EST 2009
As stated in the source, this one is usually the only
interrupt-controller. To ease creating virq mappings, let it be the
default host.
Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
Acked-by: Daniel Ng <daniel.ng1234 at gmail.com>
Cc: Vitaly Bordug <vitb at kernel.crashing.org>
Cc: Kumar Gala <galak at kernel.crashing.org>
Cc: linuxppc-dev at ozlabs.org
---
arch/powerpc/sysdev/cpm2_pic.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/cpm2_pic.c
index 78f1f7c..7a7d4e5 100644
--- a/arch/powerpc/sysdev/cpm2_pic.c
+++ b/arch/powerpc/sysdev/cpm2_pic.c
@@ -272,4 +272,5 @@ void cpm2_pic_init(struct device_node *node)
printk(KERN_ERR "CPM2 PIC: failed to allocate irq host!\n");
return;
}
+ irq_set_default_host(cpm2_pic_host);
}
--
1.6.2
More information about the Linuxppc-dev
mailing list