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)
commit76e6eee03353f01bfca707d4dbb1f10a4ee27dc0
tree6b0378b1da6ae16e04d19f3c742b7863716b8e14
parent99adcd9d67aaf04e28f5ae96df280f236bde4b66
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