Skip to content

Commit

Permalink
x86/vsmp: Fix vector_allocation_domain's return value
Browse files Browse the repository at this point in the history
Commit 8637e38 ("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>
  • Loading branch information
Ido Yariv authored and Ingo Molnar committed Jun 18, 2012
1 parent 8461689 commit abf71f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/kernel/vsmp_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit abf71f3

Please sign in to comment.