set_cpus_allowed() doesn't exist when CONFIG_CPUMASK_OFFSTACK=y.
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Mike Galbraith <bitbucket@online.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
*/
void set_kthreadd_affinity(void)
{
- set_cpus_allowed(current, kthreadd_task->cpus_allowed);
+ set_cpus_allowed_ptr(current, &kthreadd_task->cpus_allowed);
}
/**