diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-01-28 08:22:33 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-05-09 06:02:28 +0200 |
commit | db4c4426daedffefcfd890d04a6ec9ed93268878 (patch) | |
tree | 0ad91a499d82b58440e8e3777715b6fd7fb48d80 /arch/arc/kernel/irq.c | |
parent | Linux 4.6-rc7 (diff) | |
download | linux-db4c4426daedffefcfd890d04a6ec9ed93268878.tar.xz linux-db4c4426daedffefcfd890d04a6ec9ed93268878.zip |
ARC: [intc-compact] setup TIMER as percpu_dev
This removes the quirk from arc_request_percpu_irq() and paves way for
future simplifications
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/irq.c')
-rw-r--r-- | arch/arc/kernel/irq.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arc/kernel/irq.c b/arch/arc/kernel/irq.c index ba17f85285cf..88074b50456b 100644 --- a/arch/arc/kernel/irq.c +++ b/arch/arc/kernel/irq.c @@ -72,18 +72,6 @@ void arc_request_percpu_irq(int irq, int cpu, if (!cpu) { int rc; -#ifdef CONFIG_ISA_ARCOMPACT - /* - * A subsequent request_percpu_irq() fails if percpu_devid is - * not set. That in turns sets NOAUTOEN, meaning each core needs - * to call enable_percpu_irq() - * - * For ARCv2, this is done in irq map function since we know - * which irqs are strictly per cpu - */ - irq_set_percpu_devid(irq); -#endif - rc = request_percpu_irq(irq, isr, irq_nm, percpu_dev); if (rc) panic("Percpu IRQ request failed for %d\n", irq); |