Merge branch 'for-linus' of git://github.com/richardweinberger/linux
[pandora-kernel.git] / lib / smp_processor_id.c
index 4689cb0..503f087 100644 (file)
@@ -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 (cpumask_equal(&current->cpus_allowed, cpumask_of(this_cpu)))
+       if (cpumask_equal(tsk_cpus_allowed(current), cpumask_of(this_cpu)))
                goto out;
 
        /*