Commit 87313df7 authored by Rusty Russell's avatar Rusty Russell

powerpc: fix deprecated CPU_MASK_CPU0 usage.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 9941a383
...@@ -25,7 +25,7 @@ extern cpumask_t threads_core_mask; ...@@ -25,7 +25,7 @@ extern cpumask_t threads_core_mask;
#define threads_per_core 1 #define threads_per_core 1
#define threads_per_subcore 1 #define threads_per_subcore 1
#define threads_shift 0 #define threads_shift 0
#define threads_core_mask (CPU_MASK_CPU0) #define threads_core_mask (*get_cpu_mask(0))
#endif #endif
/* cpu_thread_mask_to_cores - Return a cpumask of one per cores /* cpu_thread_mask_to_cores - Return a cpumask of one per cores
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment