sched: remove any_online_cpu()
commit1e5ce4f4a755ee498bd9217dae26143afa0d8f31
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Nov 2008 16:05:03 +0000 (25 02:35 +1030)
committerIngo Molnar <mingo@elte.hu>
Mon, 24 Nov 2008 16:50:17 +0000 (24 17:50 +0100)
tree58794312cf975daa27e8b8f7fa3cc4f65555f6b2
parent3404c8d97c2d3eb87b1bf4aadad957bfb5235b14
sched: remove any_online_cpu()

Impact: use new API

any_online_cpu() is a good name, but it takes a cpumask_t, not a
pointer.

There are several places where any_online_cpu() doesn't really want a
mask arg at all.  Replace all callers with cpumask_any() and
cpumask_any_and().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c