Commit 56363e25 authored by Charles Keepax's avatar Charles Keepax Committed by Thomas Gleixner
Browse files

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: 1b744444 ("genirq/manage: Rework __disable_irq_nosync()")
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251023154901.1333755-3-ckeepax@opensource.cirrus.com
parent 5d7e45dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}