From ce3d5208ef39c8fab5d58697e0f2055994eac098 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 10 Jan 2009 21:58:09 -0800 Subject: [PATCH] --- yaml --- r: 130604 b: refs/heads/master c: 4ab0a9409af5fad74ad1fc9e46d5a8b460f353e9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/lib/smp_processor_id.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 4d89c643b936..442f56329b80 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3a9f84d354ce1e19956083c8e691727dea33bd5a +refs/heads/master: 4ab0a9409af5fad74ad1fc9e46d5a8b460f353e9 diff --git a/trunk/lib/smp_processor_id.c b/trunk/lib/smp_processor_id.c index 0f8fc22ed103..4689cb073da4 100644 --- a/trunk/lib/smp_processor_id.c +++ b/trunk/lib/smp_processor_id.c @@ -22,7 +22,7 @@ notrace unsigned int debug_smp_processor_id(void) * Kernel threads bound to a single CPU can safely use * smp_processor_id(): */ - if (cpus_equal(current->cpus_allowed, cpumask_of_cpu(this_cpu))) + if (cpumask_equal(¤t->cpus_allowed, cpumask_of(this_cpu))) goto out; /*