cpumask: Simplify sched_rt.c
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 3 Nov 2009 04:23:15 +0000 (14:53 +1030)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Nov 2009 12:16:38 +0000 (13:16 +0100)
find_lowest_rq() wants to call pick_optimal_cpu() on the
intersection of sched_domain_span(sd) and lowest_mask.  Rather
than doing a cpus_and into a temporary, we can open-code it.

This actually makes the code slightly clearer, IMHO.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Gregory Haskins <ghaskins@novell.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <200911031453.15350.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found