aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Hunt <harvey.hunt@imgtec.com>2016-05-23 07:07:37 -0400
committerThomas Gleixner <tglx@linutronix.de>2016-06-14 05:43:09 -0400
commit21c57fd135894f69ba2b8acc715ca81e90eeba15 (patch)
treee4fb4b29c9c8f4807bca3128f17be20eed920105
parenta5c8a01968fc9dc94f182172cee7ab40bc496ea4 (diff)
irqchip/mips-gic: Populate irq_domain names
Set the irq_domain names so that they don't default to an unhelpful value. Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com> Reviewed-by: Matt Redfearn <matt.redfearn@imgtec.com> Cc: linux-mips@linux-mips.org Cc: Qais Yousef <qsyousef@gmail.com> Cc: jason@lakedaemon.net Cc: marc.zyngier@arm.com Link: http://lkml.kernel.org/r/1464001657-31348-1-git-send-email-harvey.hunt@imgtec.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--drivers/irqchip/irq-mips-gic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c
index 3b5e10aa48ab..df9a1fe23cb1 100644
--- a/drivers/irqchip/irq-mips-gic.c
+++ b/drivers/irqchip/irq-mips-gic.c
@@ -1032,12 +1032,14 @@ static void __init __gic_init(unsigned long gic_base_addr,
1032 &gic_irq_domain_ops, NULL); 1032 &gic_irq_domain_ops, NULL);
1033 if (!gic_irq_domain) 1033 if (!gic_irq_domain)
1034 panic("Failed to add GIC IRQ domain"); 1034 panic("Failed to add GIC IRQ domain");
1035 gic_irq_domain->name = "mips-gic-irq";
1035 1036
1036 gic_dev_domain = irq_domain_add_hierarchy(gic_irq_domain, 0, 1037 gic_dev_domain = irq_domain_add_hierarchy(gic_irq_domain, 0,
1037 GIC_NUM_LOCAL_INTRS + gic_shared_intrs, 1038 GIC_NUM_LOCAL_INTRS + gic_shared_intrs,
1038 node, &gic_dev_domain_ops, NULL); 1039 node, &gic_dev_domain_ops, NULL);
1039 if (!gic_dev_domain) 1040 if (!gic_dev_domain)
1040 panic("Failed to add GIC DEV domain"); 1041 panic("Failed to add GIC DEV domain");
1042 gic_dev_domain->name = "mips-gic-dev";
1041 1043
1042 gic_ipi_domain = irq_domain_add_hierarchy(gic_irq_domain, 1044 gic_ipi_domain = irq_domain_add_hierarchy(gic_irq_domain,
1043 IRQ_DOMAIN_FLAG_IPI_PER_CPU, 1045 IRQ_DOMAIN_FLAG_IPI_PER_CPU,
@@ -1046,6 +1048,7 @@ static void __init __gic_init(unsigned long gic_base_addr,
1046 if (!gic_ipi_domain) 1048 if (!gic_ipi_domain)
1047 panic("Failed to add GIC IPI domain"); 1049 panic("Failed to add GIC IPI domain");
1048 1050
1051 gic_ipi_domain->name = "mips-gic-ipi";
1049 gic_ipi_domain->bus_token = DOMAIN_BUS_IPI; 1052 gic_ipi_domain->bus_token = DOMAIN_BUS_IPI;
1050 1053
1051 if (node && 1054 if (node &&