Skip to content

Commit

Permalink
genirq/generic_chip: Export irq_gc_mask_disable_and_ack_set()
Browse files Browse the repository at this point in the history
The recent conversion of brcmstb_l2_mask_and_ack() to
irq_gc_mask_disable_and_ack_set() missed that the driver can be built as a
module, but the generic function is not exported.

Add the missing export.

[ tglx: Converted it to a fix ]

Fixes: dd1f17a ("irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function")
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250116005920.626822-1-linux@treblig.org
  • Loading branch information
Dr. David Alan Gilbert authored and Thomas Gleixner committed Jan 16, 2025
1 parent 554d0fe commit a4b3990
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/irq/generic-chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ void irq_gc_mask_disable_and_ack_set(struct irq_data *d)
irq_reg_writel(gc, mask, ct->regs.ack);
irq_gc_unlock(gc);
}
EXPORT_SYMBOL_GPL(irq_gc_mask_disable_and_ack_set);

/**
* irq_gc_eoi - EOI interrupt
Expand Down

0 comments on commit a4b3990

Please sign in to comment.