summaryrefslogtreecommitdiff
path: root/arch/arm/mach-iop32x/irqs.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-04-02 17:45:07 +0300
committerArnd Bergmann <arnd@arndb.de>2022-04-08 18:20:49 +0300
commita3102fafdce6f150e5a46e1725bb1732f8953a01 (patch)
tree294d078bcd402eea96a14706d5c64201ab791d9d /arch/arm/mach-iop32x/irqs.h
parent8c1fb11b8a77dc489a8ef6d96c38c1297b629d06 (diff)
downloadlinux-a3102fafdce6f150e5a46e1725bb1732f8953a01.tar.xz
ARM: iop32x: enable multiplatform support
After iop32x was converted to the generic multi-irq entry code, nothing really stops us from building it into a generic kernel. The two last headers can simply be removed, the mach/irqs.h gets replaced with the sparse-irq intiialization from the board specific .nr_irqs value, and the decompressor debug output can use the debug_ll hack that all other platforms use. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop32x/irqs.h')
-rw-r--r--arch/arm/mach-iop32x/irqs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/irqs.h b/arch/arm/mach-iop32x/irqs.h
index e1dfc8b4e7d7..e9fc88e09189 100644
--- a/arch/arm/mach-iop32x/irqs.h
+++ b/arch/arm/mach-iop32x/irqs.h
@@ -43,4 +43,6 @@
#define IRQ_IOP32X_XINT3 IOP_IRQ(30)
#define IRQ_IOP32X_HPI IOP_IRQ(31)
+#define IOP32X_NR_IRQS (IRQ_IOP32X_HPI + 1)
+
#endif