genirq: Remove GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
Commit bb9d812643d8 ("arch: remove tile port") removed the last user of this cruft two years ago...
Signed-off-by Thomas Gleixner <[email protected]>
--- include/linux/irq.h | 15 --------------- kernel/irq/Kconfig | 5 ----- kernel/irq/irqdesc.c | 51 --------------------------------------------------- 3 files changed, 71 deletions(-)
include/linux/irq.h +0 -15
@@ -954,21 +954,6 @@ static inline void irq_free_desc(unsigneirq_free_descs (irq,1 ); } -#ifdef CONFIG_GENERIC_IRQ_LEGACY_ALLOC_HWIRQ -unsigned int irq_alloc_hwirqs (int cnt,int node); -static inline unsigned int irq_alloc_hwirq (int node) -{ -return irq_alloc_hwirqs (1 , node); -} -void irq_free_hwirqs (unsigned int from,int cnt); -static inline void irq_free_hwirq (unsigned int irq) -{ -return irq_free_hwirqs (irq,1 ); -} -int arch_setup_hwirq (unsigned int irq,int node); -void arch_teardown_hwirq (unsigned int irq); -#endif -#ifdef CONFIG_GENERIC_IRQ_LEGACY void irq_init_desc (unsigned int irq);#endif
kernel/irq/Kconfig +0 -5
@@ -26,11 +26,6 @@ config GENERIC_IRQ_SHOW_LEVEL config GENERIC_IRQ_EFFECTIVE_AFF_MASK bool -# Facility to allocate a hardware interrupt. This is legacy support -# and should not be used in new code. Use irq domains instead. -config GENERIC_IRQ_LEGACY_ALLOC_HWIRQ - bool - # Support for delayed migration from interrupt context config GENERIC_PENDING_IRQ bool
kernel/irq/irqdesc.c +0 -51
57 lines not on this page · raw message
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: f296dcd629aa412a80a53215e46087f53af87f08 Gitweb: https://git.kernel.org/tip/f296dcd629aa412a80a53215e46087f53af87f08 Author: Thomas Gleixner <[email protected]> AuthorDate: Sat, 14 Nov 2020 22:01:45 +01:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Sat, 14 Nov 2020 22:39:00 +01:00
genirq: Remove GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
Commit bb9d812643d8 ("arch: remove tile port") removed the last user of this cruft two years ago...
Signed-off-by Thomas Gleixner <[email protected]>
--- include/linux/irq.h | 15 +------------- kernel/irq/Kconfig | 5 +---- kernel/irq/irqdesc.c | 51 +------------------------------------------- 3 files changed, 71 deletions(-)
include/linux/irq.h +0 -15
@@ -954,21 +954,6 @@ static inline void irq_free_desc(unsigned int irq)irq_free_descs (irq,1 ); } -#ifdef CONFIG_GENERIC_IRQ_LEGACY_ALLOC_HWIRQ -unsigned int irq_alloc_hwirqs (int cnt,int node); -static inline unsigned int irq_alloc_hwirq (int node) -{ -return irq_alloc_hwirqs (1 , node); -} -void irq_free_hwirqs (unsigned int from,int cnt); -static inline void irq_free_hwirq (unsigned int irq) -{ -return irq_free_hwirqs (irq,1 ); -} -int arch_setup_hwirq (unsigned int irq,int node); -void arch_teardown_hwirq (unsigned int irq); -#endif -#ifdef CONFIG_GENERIC_IRQ_LEGACY void irq_init_desc (unsigned int irq);#endif
kernel/irq/Kconfig +0 -5
@@ -26,11 +26,6 @@ config GENERIC_IRQ_SHOW_LEVEL config GENERIC_IRQ_EFFECTIVE_AFF_MASK bool -# Facility to allocate a hardware interrupt. This is legacy support -# and should not be used in new code. Use irq domains instead. -config GENERIC_IRQ_LEGACY_ALLOC_HWIRQ - bool - # Support for delayed migration from interrupt context config GENERIC_PENDING_IRQ bool
kernel/irq/irqdesc.c +0 -51
57 lines not on this page · raw message