summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/intc-compact.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-01-28 05:10:10 +0100
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 06:02:30 +0200
commitd21beffb0b9181c8823f71a5a7fabce6a0d4cf29 (patch)
tree0b14552c86f585a53732dc04c7c279e1793eaac8 /arch/arc/kernel/intc-compact.c
parentARC: [intc-*] Do a domain lookup in primary handler for hwirq -> linux virq (diff)
downloadlinux-d21beffb0b9181c8823f71a5a7fabce6a0d4cf29.tar.xz
linux-d21beffb0b9181c8823f71a5a7fabce6a0d4cf29.zip
ARC: [intc-*] switch to linear domain
Now that we have Timers probed from DT, don't need legacy domain This however requires mapping to be called explicitly for the IRQ which still can't (and probably never) be probed from DT such as IPI and SOFTIRQ Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/intc-compact.c')
-rw-r--r--arch/arc/kernel/intc-compact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/intc-compact.c b/arch/arc/kernel/intc-compact.c
index 48a8b24de23e..c5cceca36118 100644
--- a/arch/arc/kernel/intc-compact.c
+++ b/arch/arc/kernel/intc-compact.c
@@ -105,7 +105,7 @@ init_onchip_IRQ(struct device_node *intc, struct device_node *parent)
if (parent)
panic("DeviceTree incore intc not a root irq controller\n");
- root_domain = irq_domain_add_legacy(intc, NR_CPU_IRQS, 0, 0,
+ root_domain = irq_domain_add_linear(intc, NR_CPU_IRQS,
&arc_intc_domain_ops, NULL);
if (!root_domain)
panic("root irq domain not avail\n");