Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105209
b: refs/heads/master
c: 5d7bfd0
h: refs/heads/master
i:
  105207: aafa100
v: v3
  • Loading branch information
Mike Travis authored and Thomas Gleixner committed May 23, 2008
1 parent bf28cb0 commit 44e4c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 334ef7a7ab8f80b689a2be95d5e62d2167900865
refs/heads/master: 5d7bfd0c4d463d288422032c9903d0452dee141d
4 changes: 2 additions & 2 deletions trunk/drivers/infiniband/hw/ehca/ehca_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,8 @@ static inline int find_next_online_cpu(struct ehca_comp_pool *pool)
ehca_dmp(&cpu_online_map, sizeof(cpumask_t), "");

spin_lock_irqsave(&pool->last_cpu_lock, flags);
cpu = next_cpu(pool->last_cpu, cpu_online_map);
if (cpu == NR_CPUS)
cpu = next_cpu_nr(pool->last_cpu, cpu_online_map);
if (cpu >= nr_cpu_ids)
cpu = first_cpu(cpu_online_map);
pool->last_cpu = cpu;
spin_unlock_irqrestore(&pool->last_cpu_lock, flags);
Expand Down

0 comments on commit 44e4c83

Please sign in to comment.