projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[POWERPC] pasemi: Add flag management functions to dma_lib
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
asm-powerpc
/
cputhreads.h
diff --git
a/include/asm-powerpc/cputhreads.h
b/include/asm-powerpc/cputhreads.h
index 8485c28b5f47efa58d0eb752d45f2c5a3a483661..fb11b0c459b832912cabee81141517a38d136ba6 100644
(file)
--- a/
include/asm-powerpc/cputhreads.h
+++ b/
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_
righ
t(tmp, threads_core_mask, i);
+ cpus_shift_
lef
t(tmp, threads_core_mask, i);
if (cpus_intersects(threads, tmp))
cpu_set(i, res);
}