diff options
Diffstat (limited to 'sys/mips/rmi/xlr_machdep.c')
-rw-r--r-- | sys/mips/rmi/xlr_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/rmi/xlr_machdep.c b/sys/mips/rmi/xlr_machdep.c index 71dae0f..4a1734a 100644 --- a/sys/mips/rmi/xlr_machdep.c +++ b/sys/mips/rmi/xlr_machdep.c @@ -614,11 +614,11 @@ platform_processor_id(void) return (xlr_hwtid_to_cpuid[xlr_cpu_id()]); } -int -platform_num_processors(void) +cpumask_t +platform_cpu_mask(void) { - return (xlr_ncores * xlr_threads_per_core); + return (~0U >> (32 - (xlr_ncores * xlr_threads_per_core))); } struct cpu_group * |