aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mach-generic/bigsmp.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-17 13:08:34 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-17 13:08:34 +0100
commit9466d6036f73481104039fbe99338baed11c8fea (patch)
treecc889fa3071be5fba09417eb17be3c8d2c5271d0 /arch/x86/mach-generic/bigsmp.c
parent1f3f424a6bee9de4d839be9951f4296333fac014 (diff)
parent83b19597f793fd5f91533bda0dc2eb3d21936798 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/travis/linux-2.6-cpus4096-for-ingo into cpus4096
Diffstat (limited to 'arch/x86/mach-generic/bigsmp.c')
-rw-r--r--arch/x86/mach-generic/bigsmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c
index 3624a364b7f..bc4c7840b2a 100644
--- a/arch/x86/mach-generic/bigsmp.c
+++ b/arch/x86/mach-generic/bigsmp.c
@@ -42,9 +42,10 @@ static const struct dmi_system_id bigsmp_dmi_table[] = {
{ }
};
-static cpumask_t vector_allocation_domain(int cpu)
+static void vector_allocation_domain(int cpu, cpumask_t *retmask)
{
- return cpumask_of_cpu(cpu);
+ cpus_clear(*retmask);
+ cpu_set(cpu, *retmask);
}
static int probe_bigsmp(void)