diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-10-27 11:03:25 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-10-27 11:03:25 +1100 |
commit | c474b0b1305e91e4533e44cfc4844470887df72f (patch) | |
tree | f0ddb33855249123b80588e82fd888c48b373fe4 /lib | |
parent | a3d24500aee65fad710c23d180d74becbc3e4383 (diff) |
cpumask:deprecate-any_online_cpu
any_online_cpu() is a good name, but it takes a cpumask_t, not a
pointer.
From: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cpumask.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/cpumask.c b/lib/cpumask.c index 91b06529a00a..007e8404dc33 100644 --- a/lib/cpumask.c +++ b/lib/cpumask.c @@ -24,18 +24,6 @@ int cpumask_next_and(int n, const cpumask_t *srcp, const cpumask_t *andp) } EXPORT_SYMBOL(cpumask_next_and); -int __any_online_cpu(const cpumask_t *mask) -{ - int cpu; - - for_each_cpu(cpu, mask) { - if (cpu_online(cpu)) - break; - } - return cpu; -} -EXPORT_SYMBOL(__any_online_cpu); - /* These are not inline because of header tangles. */ #ifdef CONFIG_CPUMASK_OFFSTACK bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) |