diff options
Diffstat (limited to 'arch/mips/kernel/smp.c')
| -rw-r--r-- | arch/mips/kernel/smp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c index 8bf88faf5afd..3da94704f816 100644 --- a/arch/mips/kernel/smp.c +++ b/arch/mips/kernel/smp.c | |||
| @@ -44,15 +44,10 @@ | |||
| 44 | #include <asm/mipsmtregs.h> | 44 | #include <asm/mipsmtregs.h> |
| 45 | #endif /* CONFIG_MIPS_MT_SMTC */ | 45 | #endif /* CONFIG_MIPS_MT_SMTC */ |
| 46 | 46 | ||
| 47 | cpumask_t phys_cpu_present_map; /* Bitmask of available CPUs */ | ||
| 48 | volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ | 47 | volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ |
| 49 | cpumask_t cpu_online_map; /* Bitmask of currently online CPUs */ | ||
| 50 | int __cpu_number_map[NR_CPUS]; /* Map physical to logical */ | 48 | int __cpu_number_map[NR_CPUS]; /* Map physical to logical */ |
| 51 | int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */ | 49 | int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */ |
| 52 | 50 | ||
| 53 | EXPORT_SYMBOL(phys_cpu_present_map); | ||
| 54 | EXPORT_SYMBOL(cpu_online_map); | ||
| 55 | |||
| 56 | extern void cpu_idle(void); | 51 | extern void cpu_idle(void); |
| 57 | 52 | ||
| 58 | /* Number of TCs (or siblings in Intel speak) per CPU core */ | 53 | /* Number of TCs (or siblings in Intel speak) per CPU core */ |
| @@ -195,7 +190,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) | |||
| 195 | /* preload SMP state for boot cpu */ | 190 | /* preload SMP state for boot cpu */ |
| 196 | void __devinit smp_prepare_boot_cpu(void) | 191 | void __devinit smp_prepare_boot_cpu(void) |
| 197 | { | 192 | { |
| 198 | cpu_set(0, phys_cpu_present_map); | 193 | cpu_set(0, cpu_possible_map); |
| 199 | cpu_set(0, cpu_online_map); | 194 | cpu_set(0, cpu_online_map); |
| 200 | cpu_set(0, cpu_callin_map); | 195 | cpu_set(0, cpu_callin_map); |
| 201 | } | 196 | } |
