cpumask: convert drivers/idle/i7300_idle.c to cpumask_var_t
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Dec 2009 17:43:24 +0000 (11:43 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Dec 2009 01:13:25 +0000 (11:13 +1030)
commitcc216b86e51e9ab22265ea9591769c9ee235e1e4
tree797a38135c7f4cd95f09f10e9fcc6fa3ce7053c9
parent6957177f5c3c0e51b9e90a1d7fadb3177a333949
cpumask: convert drivers/idle/i7300_idle.c to cpumask_var_t

Fairly simple transformation:
1) cpumask_t -> cpumask_var_t and alloc_cpumask_var/free_cpumask_var
   (which are a NOOP unless CONFIG_CPUMASK_OFFSTACK=y).
2) cpu_set -> cpumask_set_cpu
3) cpus_weight -> cpumask_weight
4) cpu_clear -> cpumask_clear_cpu

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
To: Andy Henroid <andrew.d.henroid@intel.com>
drivers/idle/i7300_idle.c