From 7d9a31f9839a7f6de262f47b049ce0e5c499a8ce Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 18 Jul 2008 22:34:00 +0200 Subject: [PATCH] --- yaml --- r: 105225 b: refs/heads/master c: 06f8d00e9eecb738c99b737ac38a585ea7583ad5 h: refs/heads/master i: 105223: d79c4720841b893856e02247e2506133684a0ba0 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 15ad1dea7499..14555f36c953 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eb53fac5cafc4b2f8443ff064938b4494a28c54e +refs/heads/master: 06f8d00e9eecb738c99b737ac38a585ea7583ad5 diff --git a/trunk/lib/smp_processor_id.c b/trunk/lib/smp_processor_id.c index 9fb2df0d8dfb..c4381d9516f6 100644 --- a/trunk/lib/smp_processor_id.c +++ b/trunk/lib/smp_processor_id.c @@ -23,7 +23,7 @@ notrace unsigned int debug_smp_processor_id(void) * Kernel threads bound to a single CPU can safely use * smp_processor_id(): */ - cpumask_of_cpu_ptr_next(this_mask, cpu); + cpumask_of_cpu_ptr_next(this_mask, this_cpu); if (cpus_equal(current->cpus_allowed, *this_mask)) goto out;