Skip to contentSkip to conversation

ARM: remove code to support non-sparse IRQs

PATCH New Ethan Nelson-Moore 1 participant 1 message May 10 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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.

---
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
index 08589b88c3b9..449094a5044e 100644
@@ -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
index e1993e28a9ec..7458c529a489 100644
@@ -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