]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1160c827b39f0058e60073e38a99b0df95d859c1
treebc034346fa51ba63361e23a1631e163eeb52097e
parent74c2a5d68e21492d4127476bc892b9d296fa5479
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