Skip to content

Commit

Permalink
microblaze: Set the default irq_domain
Browse files Browse the repository at this point in the history
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 <opello@opello.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Dan Christensen authored and Michal Simek committed May 9, 2013
1 parent 995fb05 commit 7c2c851
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/microblaze/kernel/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 7c2c851

Please sign in to comment.