Commit 7c2c8513 authored by Dan Christensen's avatar Dan Christensen Committed by Michal Simek

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: default avatarDan Christensen <opello@opello.org>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 995fb054
...@@ -172,4 +172,6 @@ void __init init_IRQ(void) ...@@ -172,4 +172,6 @@ void __init init_IRQ(void)
* and commits this patch. ~~gcl */ * and commits this patch. ~~gcl */
root_domain = irq_domain_add_linear(intc, nr_irq, &xintc_irq_domain_ops, root_domain = irq_domain_add_linear(intc, nr_irq, &xintc_irq_domain_ops,
(void *)intr_mask); (void *)intr_mask);
irq_set_default_host(root_domain);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment