[<prev] [next>] [day] [month] [year] [list]
Message-ID: <e9d64164-4690-5ec8-c1b9-eb1e21c7c5@pcs.com>
Date: Tue, 3 May 2022 11:04:55 +0200
From: Thomas Pfaff <tpfaff@....com>
To: Thomas Gleixner <tglx@...utronix.de>
CC: <linux-kernel@...r.kernel.org>, <linux-rt-users@...r.kernel.org>,
Marc Zyngier <maz@...nel.org>
Subject: [PATCH] genirq: Fix wait_for_threads initialization in
early_irq_init
From: Thomas Pfaff <tpfaff@....com>
Bugfix for copy and paste error in genirq: Synchronize interrupt thread startup.
Signed-off-by: Thomas Pfaff <tpfaff@....com>
---
diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
index 02f3b5bf5145..0099b87dd853 100644
--- a/kernel/irq/irqdesc.c
+++ b/kernel/irq/irqdesc.c
@@ -576,7 +576,7 @@ int __init early_irq_init(void)
raw_spin_lock_init(&desc[i].lock);
lockdep_set_class(&desc[i].lock, &irq_desc_lock_class);
mutex_init(&desc[i].request_mutex);
- init_waitqueue_head(&desc->wait_for_threads);
+ init_waitqueue_head(&desc[i].wait_for_threads);
desc_set_defaults(i, &desc[i], node, NULL, NULL);
}
return arch_early_irq_init();
Powered by blists - more mailing lists