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 <[email protected]>
Acked-by: Daniel Ng <[email protected]>
Cc: Vitaly Bordug <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: [email protected]
---
 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

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to