cpumask: convert kernel time functions
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:25 +0000 (10:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:25 +0000 (10:12 +1030)
commit6b954823c24f04ed026a8517f6bab5abda279db8
treebc034346fa51ba63361e23a1631e163eeb52097e
parente7577c50f2fb2d1c167e2c04a4b4c2cc042acb82
cpumask: convert kernel time functions

Impact: Use new APIs

Convert kernel/time functions to use struct cpumask *.

Note the ugly bitmap declarations in tick-broadcast.c.  These should
be cpumask_var_t, but there was no obvious initialization function to
put the alloc_cpumask_var() calls in.  This was safe.

(Eventually 'struct cpumask' will be undefined for CONFIG_CPUMASK_OFFSTACK,
so we use a bitmap here to show we really mean it).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
include/linux/tick.h
kernel/time/clocksource.c
kernel/time/tick-broadcast.c
kernel/time/tick-common.c