From: Dan Christensen Date: Sun, 17 Mar 2013 09:48:56 +0000 (-0500) Subject: microblaze: Set the default irq_domain X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7c2c85137f9c3fca47042b55f4cd17be208de167;p=linux-beck.git microblaze: Set the default irq_domain Register the irq_domain created during initialization as the default so that device drivers can pass NULL to irq_create_mapping and get a virtual irq to pass to request_irq. Signed-off-by: Dan Christensen Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c index 8778adf72bd3..d85fa3a2b0f8 100644 --- a/arch/microblaze/kernel/intc.c +++ b/arch/microblaze/kernel/intc.c @@ -172,4 +172,6 @@ void __init init_IRQ(void) * and commits this patch. ~~gcl */ root_domain = irq_domain_add_linear(intc, nr_irq, &xintc_irq_domain_ops, (void *)intr_mask); + + irq_set_default_host(root_domain); }