diff options
author | Ido Yariv <ido@wizery.com> | 2012-06-15 11:10:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-18 05:10:23 -0400 |
commit | abf71f3066740f3b59c3f731b4b68ed335f7b24d (patch) | |
tree | d305808a9cb1697fa03ac1048e626070eae06d4a /arch | |
parent | 8461689c67fc2ad3040bc019cccb541bccb5648f (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | 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 3f0285ac00fa..fa5adb7c228c 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) | |||
208 | * In vSMP, all cpus should be capable of handling interrupts, regardless of | 208 | * In vSMP, all cpus should be capable of handling interrupts, regardless of |
209 | * the APIC used. | 209 | * the APIC used. |
210 | */ | 210 | */ |
211 | static void fill_vector_allocation_domain(int cpu, struct cpumask *retmask) | 211 | static bool fill_vector_allocation_domain(int cpu, struct cpumask *retmask) |
212 | { | 212 | { |
213 | cpumask_setall(retmask); | 213 | cpumask_setall(retmask); |
214 | return false; | ||
214 | } | 215 | } |
215 | 216 | ||
216 | static void vsmp_apic_post_init(void) | 217 | static void vsmp_apic_post_init(void) |