diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-05 11:28:29 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-19 13:51:20 +0200 |
commit | 7ba8022fc3a1d2434c1f038f022c5d69026319ca (patch) | |
tree | fff3699a7037bb225381ca61fef0d11b20e80677 /arch/arm/plat-samsung | |
parent | b4cf27f7735f9e5d80f3e79fcf355ced15461219 (diff) | |
download | op-kernel-dev-7ba8022fc3a1d2434c1f038f022c5d69026319ca.zip op-kernel-dev-7ba8022fc3a1d2434c1f038f022c5d69026319ca.tar.gz |
ARM: exynos: prepare for sparse IRQ
When we enable CONFIG_SPARSE_IRQ, we have to set the value of NR_IRQS in
the machine_desc for legacy IRQ domains, and any file referring to the
number of interrupts or a specific number must include the mach/irqs.h
header file explicitly.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/irq-vic-timer.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/pm.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/irq-vic-timer.c b/arch/arm/plat-samsung/irq-vic-timer.c index f980cf3..1113066 100644 --- a/arch/arm/plat-samsung/irq-vic-timer.c +++ b/arch/arm/plat-samsung/irq-vic-timer.c @@ -19,6 +19,7 @@ #include <linux/io.h> #include <mach/map.h> +#include <mach/irqs.h> #include <plat/cpu.h> #include <plat/irq-vic-timer.h> #include <plat/regs-timer.h> diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 002b147..53210ec 100644 --- a/arch/arm/plat-samsung/pm.c +++ b/arch/arm/plat-samsung/pm.c @@ -27,6 +27,7 @@ #include <plat/regs-serial.h> #include <mach/regs-clock.h> #include <mach/regs-irq.h> +#include <mach/irqs.h> #include <asm/irq.h> #include <plat/pm.h> diff --git a/arch/arm/plat-samsung/s5p-irq.c b/arch/arm/plat-samsung/s5p-irq.c index 103e371..ff1a760 100644 --- a/arch/arm/plat-samsung/s5p-irq.c +++ b/arch/arm/plat-samsung/s5p-irq.c @@ -15,6 +15,7 @@ #include <linux/io.h> #include <linux/irqchip/arm-vic.h> +#include <mach/irqs.h> #include <mach/map.h> #include <plat/regs-timer.h> #include <plat/cpu.h> |