mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
infiniband: ehca: Fix while->do-while conversion typo
This commit just adds a needed semicolon. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
This commit is contained in:
parent
81942621bd
commit
c0e12e51b0
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ static int find_next_online_cpu(struct ehca_comp_pool *pool)
|
||||||
if (cpu >= nr_cpu_ids)
|
if (cpu >= nr_cpu_ids)
|
||||||
cpu = cpumask_first(cpu_online_mask);
|
cpu = cpumask_first(cpu_online_mask);
|
||||||
pool->last_cpu = cpu;
|
pool->last_cpu = cpu;
|
||||||
} while (!per_cpu_ptr(pool->cpu_comp_tasks, cpu)->active)
|
} while (!per_cpu_ptr(pool->cpu_comp_tasks, cpu)->active);
|
||||||
spin_unlock_irqrestore(&pool->last_cpu_lock, flags);
|
spin_unlock_irqrestore(&pool->last_cpu_lock, flags);
|
||||||
|
|
||||||
return cpu;
|
return cpu;
|
||||||
|
|
Loading…
Reference in a new issue