]> git.baikalelectronics.ru Git - kernel.git/commit
cpumask: tsk_cpumask for accessing the struct task_struct's cpus_allowed.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Mar 2009 20:35:43 +0000 (14:35 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Mar 2009 04:05:44 +0000 (14:35 +1030)
commit0fe8a8650336d9d62e246208bebbb966197c45ae
tree6b0378b1da6ae16e04d19f3c742b7863716b8e14
parent6e97b2b8b218925c51b05bdfa1b44e5289cbd14e
cpumask: tsk_cpumask for accessing the struct task_struct's cpus_allowed.

This allows us to change the representation (to a dangling bitmap or
cpumask_var_t) without breaking all the callers: they can use
tsk_cpumask() now and won't see a difference as the changes roll into
linux-next.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/sched.h