diff options
author | Dan Christensen <opello@opello.org> | 2013-03-17 04:48:56 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-05-09 09:01:21 +0200 |
commit | 7c2c85137f9c3fca47042b55f4cd17be208de167 (patch) | |
tree | d7ed8c32749ade4b6640cae334ccadb38a947601 /arch/microblaze | |
parent | 995fb054eb3590792458cb0eb65615cf3ffb3c81 (diff) | |
download | kernel_goldelico_gta04-7c2c85137f9c3fca47042b55f4cd17be208de167.zip kernel_goldelico_gta04-7c2c85137f9c3fca47042b55f4cd17be208de167.tar.gz kernel_goldelico_gta04-7c2c85137f9c3fca47042b55f4cd17be208de167.tar.bz2 |
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 <opello@opello.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/kernel/intc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c index 8778adf..d85fa3a 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); } |