cpumask: convert kernel/compat.c
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:24 +0000 (09:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:24 +0000 (09:42 +1030)
commita45185d2d7108b01b90b9e0293377be4d6346dde
treec7adcc5e91e4607bfdd0cd88e816c8d814582fb4
parent3e597945384dee1457240158eb81e3afb90b68c2
cpumask: convert kernel/compat.c

Impact: Reduce stack usage, use new cpumask API.

Straightforward conversion; cpumasks' size is given by cpumask_size() (now
a variable rather than fixed) and on-stack cpu masks use cpumask_var_t.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/compat.c