From: yhlu <yhlu.kernel@gmail.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>, "Andi Kleen" <ak@muc.de>
Cc: "linux kernel mailing list" <linux-kernel@vger.kernel.org>,
yhlu.kernel@gmail.com
Subject: [PATCH] x86_64: typo in __assign_irq_vector when update pos for vector and offset
Date: Sun, 15 Oct 2006 00:29:16 -0700 [thread overview]
Message-ID: <86802c440610150029k28957786v3b313e29f1f52c8@mail.gmail.com> (raw)
typo with cpu instead of new_cpu when update the pos struct.
Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index 44b55f8..3857440 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -655,8 +655,8 @@ next:
goto next;
/* Found one! */
for_each_cpu_mask(new_cpu, domain) {
- pos[cpu].vector = vector;
- pos[cpu].offset = offset;
+ pos[new_cpu].vector = vector;
+ pos[new_cpu].offset = offset;
}
if (old_vector >= 0) {
int old_cpu;
next reply other threads:[~2006-10-15 7:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-15 7:29 yhlu [this message]
2006-10-15 19:21 ` yhlu
2006-10-16 15:26 ` Fwd: " Yinghai Lu
2006-10-16 18:05 ` Eric W. Biederman
2006-10-16 18:35 ` Andi Kleen
2006-10-16 18:54 ` Eric W. Biederman
2006-10-17 18:02 [PATCH] x86_64 irq: Use irq_domain in ioapic_retrigger_irq Eric W. Biederman
2006-10-17 18:08 ` [PATCH] x86_64: typo in __assign_irq_vector when update pos for vector and offset Eric W. Biederman
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=86802c440610150029k28957786v3b313e29f1f52c8@mail.gmail.com \
--to=yhlu.kernel@gmail.com \
--cc=ak@muc.de \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
/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®