Skip to content

Commit 56363e2

Browse files
charleskeepaxKAGA-KOKO
authored andcommitted
genirq/manage: Add buslock back in to __disable_irq_nosync()
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: 1b74444 ("genirq/manage: Rework __disable_irq_nosync()") Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 5d7e45d commit 56363e2

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
@@ -659,7 +659,7 @@ void __disable_irq(struct irq_desc *desc)
659659

660660
static int __disable_irq_nosync(unsigned int irq)
661661
{
662-
scoped_irqdesc_get_and_lock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
662+
scoped_irqdesc_get_and_buslock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
663663
__disable_irq(scoped_irqdesc);
664664
return 0;
665665
}

0 commit comments

Comments
 (0)