Commit 24840e76 authored by Heiko Carstens's avatar Heiko Carstens

s390/smp: move smp_cpus_done() to header file

Saves us a couple of bytes.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent 5cdfbdce
...@@ -54,6 +54,10 @@ static inline int smp_get_base_cpu(int cpu) ...@@ -54,6 +54,10 @@ static inline int smp_get_base_cpu(int cpu)
return cpu - (cpu % (smp_cpu_mtid + 1)); return cpu - (cpu % (smp_cpu_mtid + 1));
} }
static inline void smp_cpus_done(unsigned int max_cpus)
{
}
extern int smp_rescan_cpus(void); extern int smp_rescan_cpus(void);
extern void __noreturn cpu_die(void); extern void __noreturn cpu_die(void);
extern void __cpu_die(unsigned int cpu); extern void __cpu_die(unsigned int cpu);
......
...@@ -1012,10 +1012,6 @@ void __init smp_prepare_boot_cpu(void) ...@@ -1012,10 +1012,6 @@ void __init smp_prepare_boot_cpu(void)
smp_cpu_set_polarization(0, POLARIZATION_UNKNOWN); smp_cpu_set_polarization(0, POLARIZATION_UNKNOWN);
} }
void __init smp_cpus_done(unsigned int max_cpus)
{
}
void __init smp_setup_processor_id(void) void __init smp_setup_processor_id(void)
{ {
pcpu_devices[0].address = stap(); pcpu_devices[0].address = stap();
......
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