diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-09 21:58:29 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-09 23:18:35 -0400 |
commit | 87313df7b47c5048d8920a486f77835a49406754 (patch) | |
tree | 79604d7b8c116ad296fa0b189cabb95dcfae165e | |
parent | 9941a383df98193aa9a9b3662af7c1fcbc3070ee (diff) |
powerpc: fix deprecated CPU_MASK_CPU0 usage.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | arch/powerpc/include/asm/cputhreads.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/cputhreads.h b/arch/powerpc/include/asm/cputhreads.h index 2bf8e9307be9..42e04a6a2b58 100644 --- a/arch/powerpc/include/asm/cputhreads.h +++ b/arch/powerpc/include/asm/cputhreads.h | |||
@@ -25,7 +25,7 @@ extern cpumask_t threads_core_mask; | |||
25 | #define threads_per_core 1 | 25 | #define threads_per_core 1 |
26 | #define threads_per_subcore 1 | 26 | #define threads_per_subcore 1 |
27 | #define threads_shift 0 | 27 | #define threads_shift 0 |
28 | #define threads_core_mask (CPU_MASK_CPU0) | 28 | #define threads_core_mask (*get_cpu_mask(0)) |
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | /* cpu_thread_mask_to_cores - Return a cpumask of one per cores | 31 | /* cpu_thread_mask_to_cores - Return a cpumask of one per cores |