]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
genirq/manage: Add buslock back in to __disable_irq_nosync()
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Oct 2025 15:49:00 +0000 (16:49 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Oct 2025 09:38:39 +0000 (11:38 +0200)
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: 1b7444446724 ("genirq/manage: Rework __disable_irq_nosync()")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251023154901.1333755-3-ckeepax@opensource.cirrus.com
kernel/irq/manage.c

index c94837382037e4ce47d0f5af0fcd98258626787c..7d68fb5dc2428303337fe5e31d108708ccdc3e9f 100644 (file)
@@ -659,7 +659,7 @@ void __disable_irq(struct irq_desc *desc)
 
 static int __disable_irq_nosync(unsigned int irq)
 {
-       scoped_irqdesc_get_and_lock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
+       scoped_irqdesc_get_and_buslock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
                __disable_irq(scoped_irqdesc);
                return 0;
        }