cpumask: avoid dereferencing struct cpumask
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Dec 2009 17:43:26 +0000 (11:43 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Dec 2009 01:13:29 +0000 (11:43 +1030)
commit62ac12795095dc959649c66ace78708e7ac52477
tree8ee766dda801b8990e41b4332697bbe365032626
parentcc216b86e51e9ab22265ea9591769c9ee235e1e4
cpumask: avoid dereferencing struct cpumask

struct cpumask will be undefined soon with CONFIG_CPUMASK_OFFSTACK=y,
to avoid them being declared on the stack.

cpumask_bits() does what we want here (of course, this code is crap).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
To: Thomas Gleixner <tglx@linutronix.de>
kernel/time/timer_list.c