diff --git a/[refs] b/[refs] index 7ecace42efc7..d6c38093d15f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 60db48cacb9b253d5607a5ff206112a59cd09e34 +refs/heads/master: 90fdbdb48442a03c72cae5463e6edb64cb3a3a7d diff --git a/trunk/kernel/sched_cpupri.c b/trunk/kernel/sched_cpupri.c index 597b33099dfa..eeb3506c4834 100644 --- a/trunk/kernel/sched_cpupri.c +++ b/trunk/kernel/sched_cpupri.c @@ -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