Skip to contentSkip to conversation

genirq: Remove GENERIC_IRQ_LEGACY

PATCH Applied Sebastian Andrzej Siewior 2 participants 2 messages Aug 14, 2025 – Aug 23, 2025 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 genirq: Remove GENERIC_IRQ_LEGACY

IA64 is gone and withit the last GENERIC_IRQ_LEGACY user.

Remove GENERIC_IRQ_LEGACY.

---
 include/linux/irq.h  | 4 ----
 kernel/irq/Kconfig   | 4 ----
 kernel/irq/irqdesc.c | 7 -------
 3 files changed, 15 deletions(-)
include/linux/irq.h +0 -4
index 1d6b606a81efe..c9bcdbf6bc635 100644
@@ -976,10 +976,6 @@ static inline void irq_free_desc(unsigned int irq)
 	irq_free_descs(irq, 1);
 }
 
-#ifdef CONFIG_GENERIC_IRQ_LEGACY
-void irq_init_desc(unsigned int irq);
-#endif
-
 /**
  * struct irq_chip_regs - register offsets for struct irq_gci
  * @enable:	Enable register offset to reg_base
kernel/irq/Kconfig +0 -4
index 1da5e9d9da719..36673640c4fc2 100644
@@ -6,10 +6,6 @@ menu "IRQ subsystem"
 config MAY_HAVE_SPARSE_IRQ
        bool
 
-# Legacy support, required for itanic
-config GENERIC_IRQ_LEGACY
-       bool
-
 # Enable the generic irq autoprobe mechanism
 config GENERIC_IRQ_PROBE
 	bool
kernel/irq/irqdesc.c +0 -7
index b64c57b44c203..db714d3014b5f 100644
@@ -653,13 +653,6 @@ void irq_mark_irq(unsigned int irq)
 	irq_insert_desc(irq, irq_desc + irq);
 }
 
-#ifdef CONFIG_GENERIC_IRQ_LEGACY
-void irq_init_desc(unsigned int irq)
-{
-	free_desc(irq);
-}
-#endif
-
 #endif /* !CONFIG_SPARSE_IRQ */
 
 int handle_irq_desc(struct irq_desc *desc)
Signature · 1 line
2.50.1
#1 lore raw
The following commit has been merged into the irq/core branch of tip:

The following commit has been merged into the irq/core branch of tip:

Commit-ID:     3c716487936aa54083c130d46ad5747769695e09
Gitweb:        https://git.kernel.org/tip/3c716487936aa54083c130d46ad5747769695e09
Author:        Sebastian Andrzej Siewior <[email protected]>
AuthorDate:    Thu, 14 Aug 2025 18:59:49 +02:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Sat, 23 Aug 2025 19:46:04 +02:00

genirq: Remove GENERIC_IRQ_LEGACY

IA64 is gone and with it the last GENERIC_IRQ_LEGACY user.

Remove GENERIC_IRQ_LEGACY.

---
 include/linux/irq.h  | 4 ----
 kernel/irq/Kconfig   | 4 ----
 kernel/irq/irqdesc.c | 7 -------
 3 files changed, 15 deletions(-)
include/linux/irq.h +0 -4
index 1d6b606..c9bcdbf 100644
@@ -976,10 +976,6 @@ static inline void irq_free_desc(unsigned int irq)
 	irq_free_descs(irq, 1);
 }
 
-#ifdef CONFIG_GENERIC_IRQ_LEGACY
-void irq_init_desc(unsigned int irq);
-#endif
-
 /**
  * struct irq_chip_regs - register offsets for struct irq_gci
  * @enable:	Enable register offset to reg_base
kernel/irq/Kconfig +0 -4
index 1da5e9d..3667364 100644
@@ -6,10 +6,6 @@ menu "IRQ subsystem"
 config MAY_HAVE_SPARSE_IRQ
        bool
 
-# Legacy support, required for itanic
-config GENERIC_IRQ_LEGACY
-       bool
-
 # Enable the generic irq autoprobe mechanism
 config GENERIC_IRQ_PROBE
 	bool
kernel/irq/irqdesc.c +0 -7
index b64c57b..db714d3 100644
@@ -653,13 +653,6 @@ void irq_mark_irq(unsigned int irq)
 	irq_insert_desc(irq, irq_desc + irq);
 }
 
-#ifdef CONFIG_GENERIC_IRQ_LEGACY
-void irq_init_desc(unsigned int irq)
-{
-	free_desc(irq);
-}
-#endif
-
 #endif /* !CONFIG_SPARSE_IRQ */
 
 int handle_irq_desc(struct irq_desc *desc)