summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include/mach/irqs.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-19 14:34:05 +0200
committerArnd Bergmann <arnd@arndb.de>2013-04-19 16:50:56 +0200
commit0dc488e778069b208d09516c5f0793dc37023c8e (patch)
tree704ad7fa4d8202f1933297e4dd348128a2b9f702 /arch/arm/mach-exynos/include/mach/irqs.h
parentMerge branch 'reset/for_v3.10' of git://git.pengutronix.de/git/pza/linux into... (diff)
parentARM: exynos: enable multiplatform support (diff)
downloadlinux-0dc488e778069b208d09516c5f0793dc37023c8e.tar.xz
linux-0dc488e778069b208d09516c5f0793dc37023c8e.zip
Merge branch 'samsung/exynos-multiplatform' into next/drivers
Merging this into the next/drivers branch avoids a number of pointless conflicts with code changed here. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/irqs.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/irqs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/include/mach/irqs.h b/arch/arm/mach-exynos/include/mach/irqs.h
index 35fe6d52d230..c72f59d91fce 100644
--- a/arch/arm/mach-exynos/include/mach/irqs.h
+++ b/arch/arm/mach-exynos/include/mach/irqs.h
@@ -467,7 +467,10 @@
#define IRQ_TIMER_BASE (IRQ_GPIO_END + 64)
/* Set the default NR_IRQS */
+#define EXYNOS_NR_IRQS (IRQ_TIMER_BASE + IRQ_TIMER_COUNT)
-#define NR_IRQS (IRQ_TIMER_BASE + IRQ_TIMER_COUNT)
+#ifndef CONFIG_SPARSE_IRQ
+#define NR_IRQS EXYNOS_NR_IRQS
+#endif
#endif /* __ASM_ARCH_IRQS_H */