From: Thomas Pfaff <tpfaff@pcs.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: <linux-kernel@vger.kernel.org>, <linux-rt-users@vger.kernel.org>,
Marc Zyngier <maz@kernel.org>
Subject: [PATCH] genirq: Fix wait_for_threads initialization in early_irq_init
Date: Tue, 3 May 2022 12:06:49 +0200 [thread overview]
Message-ID: <b9f712fb-76fc-911-b1a9-3a707694a37d@pcs.com> (raw)
From: Thomas Pfaff <tpfaff@pcs.com>
Bugfix for copy and paste error in
"genirq: Synchronize interrupt thread startup"
Signed-off-by: Thomas Pfaff <tpfaff@pcs.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();
next reply other threads:[~2022-05-03 10:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-03 10:06 Thomas Pfaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-03 9:04 Thomas Pfaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9f712fb-76fc-911-b1a9-3a707694a37d@pcs.com \
--to=tpfaff@pcs.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=maz@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®