Skip to content

Commit 5ff78c8

Browse files
Marc ZyngierKAGA-KOKO
authored andcommitted
genirq: Kill handle_percpu_devid_fasteoi_nmi()
There is no in-tree user of this flow handler anymore, so simply remove it. Suggested-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Will Deacon <will@kernel.org> Link: https://patch.msgid.link/20251020122944.3074811-12-maz@kernel.org
1 parent 21bbbc5 commit 5ff78c8

2 files changed

Lines changed: 0 additions & 26 deletions

File tree

include/linux/irq.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,6 @@ extern void handle_bad_irq(struct irq_desc *desc);
655655
extern void handle_nested_irq(unsigned int irq);
656656

657657
extern void handle_fasteoi_nmi(struct irq_desc *desc);
658-
extern void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc);
659658

660659
extern int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg);
661660
extern int irq_chip_pm_get(struct irq_data *data);

kernel/irq/chip.c

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -929,31 +929,6 @@ void handle_percpu_devid_irq(struct irq_desc *desc)
929929
chip->irq_eoi(&desc->irq_data);
930930
}
931931

932-
/**
933-
* handle_percpu_devid_fasteoi_nmi - Per CPU local NMI handler with per cpu
934-
* dev ids
935-
* @desc: the interrupt description structure for this irq
936-
*
937-
* Similar to handle_fasteoi_nmi, but handling the dev_id cookie
938-
* as a percpu pointer.
939-
*/
940-
void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc)
941-
{
942-
struct irq_chip *chip = irq_desc_get_chip(desc);
943-
struct irqaction *action = desc->action;
944-
unsigned int irq = irq_desc_get_irq(desc);
945-
irqreturn_t res;
946-
947-
__kstat_incr_irqs_this_cpu(desc);
948-
949-
trace_irq_handler_entry(irq, action);
950-
res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id));
951-
trace_irq_handler_exit(irq, action, res);
952-
953-
if (chip->irq_eoi)
954-
chip->irq_eoi(&desc->irq_data);
955-
}
956-
957932
static void
958933
__irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
959934
int is_chained, const char *name)

0 commit comments

Comments
 (0)