Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

genirq: Remove GENERIC_IRQ_LEGACY

IA64 is gone and with it the last GENERIC_IRQ_LEGACY user.

Remove GENERIC_IRQ_LEGACY.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250814165949.hvtP03r4@linutronix.de

authored by

Sebastian Andrzej Siewior and committed by
Thomas Gleixner
3c716487 8f5ae30d

-15
-4
include/linux/irq.h
··· 976 976 irq_free_descs(irq, 1); 977 977 } 978 978 979 - #ifdef CONFIG_GENERIC_IRQ_LEGACY 980 - void irq_init_desc(unsigned int irq); 981 - #endif 982 - 983 979 /** 984 980 * struct irq_chip_regs - register offsets for struct irq_gci 985 981 * @enable: Enable register offset to reg_base
-4
kernel/irq/Kconfig
··· 6 6 config MAY_HAVE_SPARSE_IRQ 7 7 bool 8 8 9 - # Legacy support, required for itanic 10 - config GENERIC_IRQ_LEGACY 11 - bool 12 - 13 9 # Enable the generic irq autoprobe mechanism 14 10 config GENERIC_IRQ_PROBE 15 11 bool
-7
kernel/irq/irqdesc.c
··· 653 653 irq_insert_desc(irq, irq_desc + irq); 654 654 } 655 655 656 - #ifdef CONFIG_GENERIC_IRQ_LEGACY 657 - void irq_init_desc(unsigned int irq) 658 - { 659 - free_desc(irq); 660 - } 661 - #endif 662 - 663 656 #endif /* !CONFIG_SPARSE_IRQ */ 664 657 665 658 int handle_irq_desc(struct irq_desc *desc)