From 740695a2b4f7db4f466076dca76b8d00f2418eb7 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Fri, 22 Feb 2008 14:26:43 +1100 Subject: [PATCH] --- yaml --- r: 91427 b: refs/heads/master c: 6a2d322e4b81edc2ab35573f1c52f93d1d16eebb h: refs/heads/master i: 91425: caecc01be684b8b0d53a1b6127e442df4cfb1f98 91423: 61482c167d8a3e35754ff750ed4b3cc4df121000 v: v3 --- [refs] | 2 +- trunk/include/asm-powerpc/cputhreads.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c799f0ada4f7..9c02d1e6f7d4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 50530378161fa8d7837243119ed9140ee65e55d4 +refs/heads/master: 6a2d322e4b81edc2ab35573f1c52f93d1d16eebb diff --git a/trunk/include/asm-powerpc/cputhreads.h b/trunk/include/asm-powerpc/cputhreads.h index 8485c28b5f47..fb11b0c459b8 100644 --- a/trunk/include/asm-powerpc/cputhreads.h +++ b/trunk/include/asm-powerpc/cputhreads.h @@ -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); }