projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9941a38
)
powerpc: fix deprecated CPU_MASK_CPU0 usage.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 10 Mar 2015 01:58:29 +0000
(12:28 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 10 Mar 2015 03:18:35 +0000
(13:48 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/powerpc/include/asm/cputhreads.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/cputhreads.h
b/arch/powerpc/include/asm/cputhreads.h
index 2bf8e9307be9833b5bf9af51defdfada8feae68d..42e04a6a2b5836488f42ce462cfffc734e675fb5 100644
(file)
--- a/
arch/powerpc/include/asm/cputhreads.h
+++ b/
arch/powerpc/include/asm/cputhreads.h
@@
-25,7
+25,7
@@
extern cpumask_t threads_core_mask;
#define threads_per_core 1
#define threads_per_subcore 1
#define threads_shift 0
-#define threads_core_mask (
CPU_MASK_CPU0
)
+#define threads_core_mask (
*get_cpu_mask(0)
)
#endif
/* cpu_thread_mask_to_cores - Return a cpumask of one per cores