From: "Yinghai Lu" <yinghai.lu@amd.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>,
"Andi Kleen" <ak@muc.de>, "Muli Ben-Yehuda" <muli@il.ibm.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [PATCH] x86-64: using cpu_online_map instead of APIC_ALL_CPUS
Date: Sun, 22 Oct 2006 09:42:38 -0700 [thread overview]
Message-ID: <86802c440610220942m4fc77edbi7b6d62a2b2b378c5@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
Using cpu_online_map instead of APIC_ALL_CPUS for flat apic mode, So
__assign_irq_vector can refer correct per_cpu data.
Cc: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
[-- Attachment #2: vector_allocation_domain.diff --]
[-- Type: text/x-patch, Size: 485 bytes --]
diff --git a/arch/x86_64/kernel/genapic_flat.c b/arch/x86_64/kernel/genapic_flat.c
index 7c01db8..490df69 100644
--- a/arch/x86_64/kernel/genapic_flat.c
+++ b/arch/x86_64/kernel/genapic_flat.c
@@ -32,8 +32,7 @@ static cpumask_t flat_vector_allocation_
* deliver interrupts to the wrong hyperthread when only one
* hyperthread was specified in the interrupt desitination.
*/
- cpumask_t domain = { { [0] = APIC_ALL_CPUS, } };
- return domain;
+ return cpu_online_map;
}
/*
next reply other threads:[~2006-10-22 16:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-22 16:42 Yinghai Lu [this message]
2006-10-22 16:50 ` Muli Ben-Yehuda
2006-10-22 17:55 ` Eric W. Biederman
2006-10-22 19:58 ` Yinghai Lu
2006-10-23 7:43 ` Muli Ben-Yehuda
2006-10-23 8:05 ` yhlu
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=86802c440610220942m4fc77edbi7b6d62a2b2b378c5@mail.gmail.com \
--to=yinghai.lu@amd.com \
--cc=ak@muc.de \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=muli@il.ibm.com \
/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®