Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91427
b: refs/heads/master
c: 6a2d322
h: refs/heads/master
i:
  91425: caecc01
  91423: 61482c1
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Feb 26, 2008
1 parent f26d4fc commit 740695a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 50530378161fa8d7837243119ed9140ee65e55d4
refs/heads/master: 6a2d322e4b81edc2ab35573f1c52f93d1d16eebb
2 changes: 1 addition & 1 deletion trunk/include/asm-powerpc/cputhreads.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static inline cpumask_t cpu_thread_mask_to_cores(cpumask_t threads)

res = CPU_MASK_NONE;
for (i = 0; i < NR_CPUS; i += threads_per_core) {
cpus_shift_right(tmp, threads_core_mask, i);
cpus_shift_left(tmp, threads_core_mask, i);
if (cpus_intersects(threads, tmp))
cpu_set(i, res);
}
Expand Down

0 comments on commit 740695a

Please sign in to comment.