diff options
Diffstat (limited to 'arch/powerpc/include/asm/smp.h')
-rw-r--r-- | arch/powerpc/include/asm/smp.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h index e1afd4c4f695..0d02c11dc331 100644 --- a/arch/powerpc/include/asm/smp.h +++ b/arch/powerpc/include/asm/smp.h | |||
@@ -160,9 +160,6 @@ static inline void set_hard_smp_processor_id(int cpu, int phys) | |||
160 | { | 160 | { |
161 | paca[cpu].hw_cpu_id = phys; | 161 | paca[cpu].hw_cpu_id = phys; |
162 | } | 162 | } |
163 | |||
164 | extern void smp_release_cpus(void); | ||
165 | |||
166 | #else | 163 | #else |
167 | /* 32-bit */ | 164 | /* 32-bit */ |
168 | #ifndef CONFIG_SMP | 165 | #ifndef CONFIG_SMP |
@@ -179,6 +176,12 @@ static inline void set_hard_smp_processor_id(int cpu, int phys) | |||
179 | #endif /* !CONFIG_SMP */ | 176 | #endif /* !CONFIG_SMP */ |
180 | #endif /* !CONFIG_PPC64 */ | 177 | #endif /* !CONFIG_PPC64 */ |
181 | 178 | ||
179 | #if defined(CONFIG_PPC64) && (defined(CONFIG_SMP) || defined(CONFIG_KEXEC)) | ||
180 | extern void smp_release_cpus(void); | ||
181 | #else | ||
182 | static inline void smp_release_cpus(void) { }; | ||
183 | #endif | ||
184 | |||
182 | extern int smt_enabled_at_boot; | 185 | extern int smt_enabled_at_boot; |
183 | 186 | ||
184 | extern void smp_mpic_probe(void); | 187 | extern void smp_mpic_probe(void); |