Signed-off-by: Nikos Nikoleris <nikos.nikoleris@xxxxxxx> --- lib/arm/asm/cpumask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/arm/asm/cpumask.h b/lib/arm/asm/cpumask.h index 6683bb6..02124de 100644 --- a/lib/arm/asm/cpumask.h +++ b/lib/arm/asm/cpumask.h @@ -105,7 +105,7 @@ static inline void cpumask_copy(cpumask_t *dst, const cpumask_t *src) static inline int cpumask_next(int cpu, const cpumask_t *mask) { - while (cpu < nr_cpus && !cpumask_test_cpu(++cpu, mask)) + while (++cpu < nr_cpus && !cpumask_test_cpu(cpu, mask)) ; return cpu; } -- 2.25.1