Commit 90fdbdb4 authored by Akinobu Mita's avatar Akinobu Mita Committed by Ingo Molnar

sched: Use for_each_bit

No change in functionality.
Signed-off-by: default avatarAkinobu Mita <>
Cc: Peter Zijlstra <>
Cc: Andrew Morton <>
LKML-Reference: <>
Signed-off-by: default avatarIngo Molnar <>
parent 60db48ca
......@@ -47,9 +47,7 @@ static int convert_prio(int prio)
#define for_each_cpupri_active(array, idx) \
for (idx = find_first_bit(array, CPUPRI_NR_PRIORITIES); \
idx = find_next_bit(array, CPUPRI_NR_PRIORITIES, idx+1))
for_each_bit(idx, array, CPUPRI_NR_PRIORITIES)
* cpupri_find - find the best (lowest-pri) CPU in the system
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment