diff options
author | David Daney <david.daney@cavium.com> | 2012-08-29 16:09:22 -0700 |
---|---|---|
committer | David Daney <david.daney@cavium.com> | 2012-08-31 10:46:54 -0700 |
commit | c9f0f0c0e139f84dbfdfa51a66dbfd35f9b7d5b0 (patch) | |
tree | 3dc79124cb59fc12034d72755e2cb94b227c8322 /arch | |
parent | 1a7e68f2c7f1e3bd6c49df031ec0eca947c35b2d (diff) | |
download | linux-c9f0f0c0e139f84dbfdfa51a66dbfd35f9b7d5b0.tar.gz linux-c9f0f0c0e139f84dbfdfa51a66dbfd35f9b7d5b0.tar.bz2 linux-c9f0f0c0e139f84dbfdfa51a66dbfd35f9b7d5b0.zip |
MIPS: OCTEON: Register ciu/ciu2 as the default irq_domain.
This makes it possible to call irq_create_mapping(NULL, ??)
Signed-off-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/cavium-octeon/octeon-irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c index fadec885916a..02b15eed4bcd 100644 --- a/arch/mips/cavium-octeon/octeon-irq.c +++ b/arch/mips/cavium-octeon/octeon-irq.c @@ -1244,6 +1244,7 @@ static void __init octeon_irq_init_ciu(void) ciu_node = of_find_compatible_node(NULL, NULL, "cavium,octeon-3860-ciu"); if (ciu_node) { ciu_domain = irq_domain_add_tree(ciu_node, &octeon_irq_domain_ciu_ops, NULL); + irq_set_default_host(ciu_domain); of_node_put(ciu_node); } else panic("Cannot find device node for cavium,octeon-3860-ciu."); @@ -1704,6 +1705,7 @@ static void __init octeon_irq_init_ciu2(void) ciu_node = of_find_compatible_node(NULL, NULL, "cavium,octeon-6880-ciu2"); if (ciu_node) { ciu_domain = irq_domain_add_tree(ciu_node, &octeon_irq_domain_ciu2_ops, NULL); + irq_set_default_host(ciu_domain); of_node_put(ciu_node); } else panic("Cannot find device node for cavium,octeon-6880-ciu2."); |