Skip to content

Commit ef3330b

Browse files
charleskeepaxKAGA-KOKO
authored andcommitted
genirq/manage: Add buslock back in to enable_irq()
The locking was changed from a buslock to a plain lock, but the patch description states there was no functional change. Assuming this was accidental so reverting to using the buslock. Fixes: bddd10c ("genirq/manage: Rework enable_irq()") Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 56363e2 commit ef3330b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/irq/manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ void __enable_irq(struct irq_desc *desc)
789789
*/
790790
void enable_irq(unsigned int irq)
791791
{
792-
scoped_irqdesc_get_and_lock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
792+
scoped_irqdesc_get_and_buslock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
793793
struct irq_desc *desc = scoped_irqdesc;
794794

795795
if (WARN(!desc->irq_data.chip, "enable_irq before setup/request_irq: irq %u\n", irq))

0 commit comments

Comments
 (0)