diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-04-02 16:28:18 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-04-07 10:31:31 +0300 |
commit | c78a41fc04f0209cba1e62ccbe6a4844633515e7 (patch) | |
tree | 95d943308c3b5a9ab85aba49ba1bdda76300674a /arch/arm/mach-s3c/irqs.h | |
parent | 91276c0fa4b405c90d7a7fafdca84ae18a516bbf (diff) | |
download | linux-c78a41fc04f0209cba1e62ccbe6a4844633515e7.tar.xz |
ARM: s3c24xx: convert to sparse-irq
As a final bit of preparation for converting to ARCH_MULTIPLATFORM,
change the interrupt handling for s3c24xx to use sparse IRQs.
Since the number of possible interrupts is already fixed and relatively
small per chip, just make it use all legacy interrupts preallocated
using the .nr_irqs field in the machine descriptor, rather than actually
allocating domains on the fly.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-s3c/irqs.h')
-rw-r--r-- | arch/arm/mach-s3c/irqs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c/irqs.h b/arch/arm/mach-s3c/irqs.h new file mode 100644 index 000000000000..0bff1c1c8eb0 --- /dev/null +++ b/arch/arm/mach-s3c/irqs.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifdef CONFIG_ARCH_S3C24XX +#include "irqs-s3c24xx.h" +#endif + +#ifdef CONFIG_ARCH_S3C64XX +#include "irqs-s3c64xx.h" +#endif |