mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/vsmp: Fix vector_allocation_domain's return value
@ 2012-06-15 15:10 Ido Yariv
  2012-06-20 10:42 ` [tip:x86/platform] x86/vsmp: Fix vector_allocation_domain' s " tip-bot for Ido Yariv
  0 siblings, 1 reply; 2+ messages in thread
From: Ido Yariv @ 2012-06-15 15:10 UTC (permalink / raw)
  To: linux-kernel, Ingo Molnar, Thomas Gleixner, H. Peter Anvin
  Cc: Shai Fultheim, Ido Yariv, Alexander Gordeev

Commit 8637e38a ("x86/apic: Avoid useless scanning thru a cpumask in
assign_irq_vector()") modified vector_allocation_domain() to return a
boolean indicating if cpumask is dynamic or static. Adjust vSMP's
callback implementation accordingly.

Signed-off-by: Ido Yariv <ido@wizery.com>
Acked-by: Shai Fultheim <shai@scalemp.com>
Cc: Alexander Gordeev <agordeev@redhat.com>
---
 arch/x86/kernel/vsmp_64.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c
index 3f0285a..fa5adb7 100644
--- a/arch/x86/kernel/vsmp_64.c
+++ b/arch/x86/kernel/vsmp_64.c
@@ -208,9 +208,10 @@ static int apicid_phys_pkg_id(int initial_apic_id, int index_msb)
  * In vSMP, all cpus should be capable of handling interrupts, regardless of
  * the APIC used.
  */
-static void fill_vector_allocation_domain(int cpu, struct cpumask *retmask)
+static bool fill_vector_allocation_domain(int cpu, struct cpumask *retmask)
 {
 	cpumask_setall(retmask);
+	return false;
 }
 
 static void vsmp_apic_post_init(void)
-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:x86/platform] x86/vsmp: Fix vector_allocation_domain' s return value
  2012-06-15 15:10 [PATCH] x86/vsmp: Fix vector_allocation_domain's return value Ido Yariv
@ 2012-06-20 10:42 ` tip-bot for Ido Yariv
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Ido Yariv @ 2012-06-20 10:42 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, agordeev, hpa, mingo, shai, ido, tglx

Commit-ID:  abf71f3066740f3b59c3f731b4b68ed335f7b24d
Gitweb:     http://git.kernel.org/tip/abf71f3066740f3b59c3f731b4b68ed335f7b24d
Author:     Ido Yariv <ido@wizery.com>
AuthorDate: Fri, 15 Jun 2012 18:10:55 +0300
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 18 Jun 2012 11:10:23 +0200

x86/vsmp: Fix vector_allocation_domain's return value

Commit 8637e38a ("x86/apic: Avoid useless scanning thru a
cpumask in assign_irq_vector()") modified
vector_allocation_domain() to return a boolean indicating if
cpumask is dynamic or static. Adjust vSMP's callback
implementation accordingly.

Signed-off-by: Ido Yariv <ido@wizery.com>
Acked-by: Shai Fultheim <shai@scalemp.com>
Cc: Alexander Gordeev <agordeev@redhat.com>
Link: http://lkml.kernel.org/r/1339773055-27397-1-git-send-email-ido@wizery.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/kernel/vsmp_64.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c
index 3f0285a..fa5adb7 100644
--- a/arch/x86/kernel/vsmp_64.c
+++ b/arch/x86/kernel/vsmp_64.c
@@ -208,9 +208,10 @@ static int apicid_phys_pkg_id(int initial_apic_id, int index_msb)
  * In vSMP, all cpus should be capable of handling interrupts, regardless of
  * the APIC used.
  */
-static void fill_vector_allocation_domain(int cpu, struct cpumask *retmask)
+static bool fill_vector_allocation_domain(int cpu, struct cpumask *retmask)
 {
 	cpumask_setall(retmask);
+	return false;
 }
 
 static void vsmp_apic_post_init(void)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-20 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-15 15:10 [PATCH] x86/vsmp: Fix vector_allocation_domain's return value Ido Yariv
2012-06-20 10:42 ` [tip:x86/platform] x86/vsmp: Fix vector_allocation_domain' s " tip-bot for Ido Yariv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome