Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
}