aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/mach-anw6410.c
diff options
context:
space:
mode:
authorGravatar Arnd Bergmann <arnd@arndb.de> 2015-02-27 22:06:58 +0100
committerGravatar Arnd Bergmann <arnd@arndb.de> 2015-12-01 21:50:24 +0100
commitba279044560b1d2d2237beefb1a695f43f23fc06 (patch)
tree5bbb0ef211c4a3fea8bdf09697f3a857703ef28f /arch/arm/mach-s3c64xx/mach-anw6410.c
parentARM: s3c64xx: prepare initcalls for multiplatform (diff)
downloadlinux-ba279044560b1d2d2237beefb1a695f43f23fc06.tar.gz
linux-ba279044560b1d2d2237beefb1a695f43f23fc06.tar.bz2
linux-ba279044560b1d2d2237beefb1a695f43f23fc06.zip
ARM: s3c64xx: enable sparse IRQ support
This is another prerequisite for enabling multiplatform support, and it is the part I am least certain about. I assume it will cause the extra boot message "Cannot allocate irq_descs @ IRQ%d, assuming pre-allocated" to be printed, but otherwise work ok. This definitely needs to be tested on real hardware to see if it works. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-anw6410.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-anw6410.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-anw6410.c b/arch/arm/mach-s3c64xx/mach-anw6410.c
index 6224c67f5061..347ce6009a8c 100644
--- a/arch/arm/mach-s3c64xx/mach-anw6410.c
+++ b/arch/arm/mach-s3c64xx/mach-anw6410.c
@@ -47,6 +47,7 @@
#include <plat/devs.h>
#include <plat/cpu.h>
+#include <mach/irqs.h>
#include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h>
#include <plat/samsung-time.h>
@@ -229,7 +230,7 @@ static void __init anw6410_machine_init(void)
MACHINE_START(ANW6410, "A&W6410")
/* Maintainer: Kwangwoo Lee <kwangwoo.lee@gmail.com> */
.atag_offset = 0x100,
-
+ .nr_irqs = S3C64XX_NR_IRQS,
.init_irq = s3c6410_init_irq,
.map_io = anw6410_map_io,
.init_machine = anw6410_machine_init,