Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1377822
| From | Vineet Gupta <Vineet.Gupta1@synopsys.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 3/5] ARC: irq: export some IRQs again |
| Date | 2016-04-13 13:50 +0200 |
| Message-ID | <rnrt0-BH-29@gated-at.bofh.it> (permalink) |
| References | <rnrt0-BH-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This will be needed for switching ti lineaser irq domain as irq_create_mapping() called by intr code, needs the IRQ numbers as well in addition to existing usage in mcip.c Signed-off-by: Vineet Gupta <vgupta@synopsys.com> --- arch/arc/include/asm/irq.h | 6 ++++++ arch/arc/kernel/mcip.c | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arc/include/asm/irq.h b/arch/arc/include/asm/irq.h index a6ac89dc228f..c0fa0d2de400 100644 --- a/arch/arc/include/asm/irq.h +++ b/arch/arc/include/asm/irq.h @@ -12,6 +12,12 @@ #define NR_CPU_IRQS 32 /* number of interrupt lines of ARC770 CPU */ #define NR_IRQS 128 /* allow some CPU external IRQ handling */ +/* Platform Independent IRQs */ +#ifdef CONFIG_ISA_ARCV2 +#define IPI_IRQ 19 +#define SOFTIRQ_IRQ 21 +#endif + #include <linux/interrupt.h> #include <asm-generic/irq.h> diff --git a/arch/arc/kernel/mcip.c b/arch/arc/kernel/mcip.c index 262d9c3771e6..72f9179b1a24 100644 --- a/arch/arc/kernel/mcip.c +++ b/arch/arc/kernel/mcip.c @@ -15,9 +15,6 @@ #include <asm/mcip.h> #include <asm/setup.h> -#define IPI_IRQ 19 -#define SOFTIRQ_IRQ 21 - static char smp_cpuinfo_buf[128]; static int idu_detected; -- 2.5.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/5] Modernize ARC clocksource/clockevent/intc drivers Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-13 13:50 +0200
[PATCH v4 5/5] ARC: [intc-*] switch to linear domain Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-13 13:50 +0200
[PATCH v4 3/5] ARC: irq: export some IRQs again Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-13 13:50 +0200
[PATCH v4 4/5] ARC: [intc-*] Do a domain lookup in primary handler for hwirq -> linux virq Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-13 13:50 +0200
[PATCH v4 1/5] ARC: clockevent: DT based probe Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-13 13:50 +0200
Re: [PATCH v4 1/5] ARC: clockevent: DT based probe Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-13 15:00 +0200
Re: [PATCH v4 1/5] ARC: clockevent: DT based probe Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-14 11:40 +0200
Re: [PATCH v4 1/5] ARC: clockevent: DT based probe Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-14 12:10 +0200
[PATCH v4 2/5] ARC: clocksource: DT based probe Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-13 13:50 +0200
Re: [PATCH v4 2/5] ARC: clocksource: DT based probe Marc Zyngier <marc.zyngier@arm.com> - 2016-04-13 18:30 +0200
Re: [PATCH v4 2/5] ARC: clocksource: DT based probe Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-14 11:30 +0200
Re: [PATCH v4 2/5] ARC: clocksource: DT based probe Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-14 11:40 +0200
Re: [PATCH v4 2/5] ARC: clocksource: DT based probe Marc Zyngier <marc.zyngier@arm.com> - 2016-04-14 11:40 +0200
csiph-web