From: Ingo Molnar Date: Mon, 21 Jul 2008 15:19:50 +0000 (+0200) Subject: Merge branch 'linus' into cpus4096-for-linus X-Git-Tag: v2.6.27-rc1~848^2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=eb6a12c2428d21a9f3e0f1a50e927d5fd80fc3d0;p=linux.git Merge branch 'linus' into cpus4096-for-linus Conflicts: net/sunrpc/svc.c Signed-off-by: Ingo Molnar --- eb6a12c2428d21a9f3e0f1a50e927d5fd80fc3d0 diff --cc net/sunrpc/svc.c index 083d12688134,5a32cb7c4bb4..835d27413083 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@@ -307,18 -307,11 +307,12 @@@ svc_pool_map_set_cpumask(struct task_st */ BUG_ON(m->count == 0); - switch (m->mode) - { - default: - return 0; + switch (m->mode) { case SVC_POOL_PERCPU: { - unsigned int cpu = m->pool_to[pidx]; - cpumask_of_cpu_ptr(cpumask, cpu); - - *oldmask = current->cpus_allowed; - set_cpus_allowed_ptr(current, cpumask); - return 1; - set_cpus_allowed_ptr(task, &cpumask_of_cpu(node)); ++ cpumask_of_cpu_ptr(cpumask, node); ++ set_cpus_allowed_ptr(task, cpumask); + break; } case SVC_POOL_PERNODE: {