diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-28 00:06:58 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-01 23:50:24 +0300 |
commit | ba279044560b1d2d2237beefb1a695f43f23fc06 (patch) | |
tree | 5bbb0ef211c4a3fea8bdf09697f3a857703ef28f /arch/arm/mach-s3c64xx/mach-real6410.c | |
parent | a0e157afd0c3ecb2e953eb41da04da2bf0e3d6c3 (diff) | |
download | linux-ba279044560b1d2d2237beefb1a695f43f23fc06.tar.xz |
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-real6410.c')
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-real6410.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-real6410.c b/arch/arm/mach-s3c64xx/mach-real6410.c index 85fa9598b980..ca6548a1ed3b 100644 --- a/arch/arm/mach-s3c64xx/mach-real6410.c +++ b/arch/arm/mach-s3c64xx/mach-real6410.c @@ -33,6 +33,7 @@ #include <mach/map.h> #include <mach/regs-gpio.h> #include <mach/gpio-samsung.h> +#include <mach/irqs.h> #include <plat/adc.h> #include <plat/cpu.h> @@ -331,7 +332,7 @@ static void __init real6410_machine_init(void) MACHINE_START(REAL6410, "REAL6410") /* Maintainer: Darius Augulis <augulis.darius@gmail.com> */ .atag_offset = 0x100, - + .nr_irqs = S3C64XX_NR_IRQS, .init_irq = s3c6410_init_irq, .map_io = real6410_map_io, .init_machine = real6410_machine_init, |