mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
ARM: pxa: arbitrarily set first interrupt number
As IRQ0, the legacy timer interrupt should not be used as an interrupt number, shift the interrupts by a fixed number. As we had in a special case a shift of 16 when ISA bus was used on a PXA, use that value as the first interrupt number, regardless of ISA or not. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
This commit is contained in:
parent
95d8c4c849
commit
3ad32229be
2 changed files with 2 additions and 12 deletions
|
@ -83,14 +83,12 @@ config ARCH_VIPER
|
||||||
select I2C_GPIO if I2C=y
|
select I2C_GPIO if I2C=y
|
||||||
select ISA
|
select ISA
|
||||||
select PXA25x
|
select PXA25x
|
||||||
select PXA_HAVE_ISA_IRQS
|
|
||||||
|
|
||||||
config MACH_ARCOM_ZEUS
|
config MACH_ARCOM_ZEUS
|
||||||
bool "Arcom/Eurotech ZEUS SBC"
|
bool "Arcom/Eurotech ZEUS SBC"
|
||||||
select ARCOM_PCMCIA
|
select ARCOM_PCMCIA
|
||||||
select ISA
|
select ISA
|
||||||
select PXA27x
|
select PXA27x
|
||||||
select PXA_HAVE_ISA_IRQS
|
|
||||||
|
|
||||||
config MACH_BALLOON3
|
config MACH_BALLOON3
|
||||||
bool "Balloon 3 board"
|
bool "Balloon 3 board"
|
||||||
|
@ -690,9 +688,6 @@ config SHARPSL_PM_MAX1111
|
||||||
select SPI
|
select SPI
|
||||||
select SPI_MASTER
|
select SPI_MASTER
|
||||||
|
|
||||||
config PXA_HAVE_ISA_IRQS
|
|
||||||
bool
|
|
||||||
|
|
||||||
config PXA310_ULPI
|
config PXA310_ULPI
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
|
@ -12,14 +12,9 @@
|
||||||
#ifndef __ASM_MACH_IRQS_H
|
#ifndef __ASM_MACH_IRQS_H
|
||||||
#define __ASM_MACH_IRQS_H
|
#define __ASM_MACH_IRQS_H
|
||||||
|
|
||||||
#ifdef CONFIG_PXA_HAVE_ISA_IRQS
|
#include <asm/irq.h>
|
||||||
#define PXA_ISA_IRQ(x) (x)
|
|
||||||
#define PXA_ISA_IRQ_NUM (16)
|
|
||||||
#else
|
|
||||||
#define PXA_ISA_IRQ_NUM (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define PXA_IRQ(x) (PXA_ISA_IRQ_NUM + (x))
|
#define PXA_IRQ(x) (NR_IRQS_LEGACY + (x))
|
||||||
|
|
||||||
#define IRQ_SSP3 PXA_IRQ(0) /* SSP3 service request */
|
#define IRQ_SSP3 PXA_IRQ(0) /* SSP3 service request */
|
||||||
#define IRQ_MSL PXA_IRQ(1) /* MSL Interface interrupt */
|
#define IRQ_MSL PXA_IRQ(1) /* MSL Interface interrupt */
|
||||||
|
|
Loading…
Reference in a new issue