ARM: remove code to support non-sparse IRQs
PATCH 1/1 ARM: remove code to support non-sparse IRQs
Now that footbridge and riscpc have been converted to sparse IRQs, this code is unused. Remove it.
Signed-off-by Ethan Nelson-Moore <[email protected]>
---
This commit depends on my previous submissions "ARM: riscpc: convert to sparse IRQs" and "ARM: footbridge: convert to sparse IRQs".
arch/arm/include/asm/irq.h | 5 ----- arch/arm/kernel/irq.c | 2 -- 2 files changed, 7 deletions(-)
arch/arm/include/asm/irq.h +0 -5
@@ -3,12 +3,7 @@#define __ASM_ARM_IRQ_H#define NR_IRQS_LEGACY 16 - -#ifndef CONFIG_SPARSE_IRQ -#include <mach/irqs.h> -#else #define NR_IRQS NR_IRQS_LEGACY -#endif #ifdef CONFIG_ARCH_FOOTBRIDGE #define irq_canonicalize (i) (((i) == 2) ? 9 : i)
arch/arm/kernel/irq.c +0 -2
@@ -148,9 +148,7 @@ void __init init_IRQ(void)uniphier_cache_init (); } -#ifdef CONFIG_SPARSE_IRQ int __init arch_probe_nr_irqs (void ) {return irq_set_nr_irqs (machine_desc->nr_irqs ? :NR_IRQS ); } -#endif
Signature · 1 line
2.43.0