|
@@ -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 < 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
|