]> www.infradead.org Git - users/hch/block.git/commitdiff
s390/smp: move smp_cpus_done() to header file
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 1 Jul 2020 09:16:16 +0000 (11:16 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 3 Jul 2020 08:49:08 +0000 (10:49 +0200)
Saves us a couple of bytes.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/smp.h
arch/s390/kernel/smp.c

index 7326f110d48c2da08eef3952a713e6769aa46557..20b37b059e2b41d053081e3ec7eee1c77464de2f 100644 (file)
@@ -54,6 +54,10 @@ static inline int smp_get_base_cpu(int cpu)
        return cpu - (cpu % (smp_cpu_mtid + 1));
 }
 
+static inline void smp_cpus_done(unsigned int max_cpus)
+{
+}
+
 extern int smp_rescan_cpus(void);
 extern void __noreturn cpu_die(void);
 extern void __cpu_die(unsigned int cpu);
index e6be63ff162aab9b5ba119c3077985cb34d12b29..b4f2795a123d3ec7aae27a5bb8dfd6258dbee0f1 100644 (file)
@@ -1012,10 +1012,6 @@ void __init smp_prepare_boot_cpu(void)
        smp_cpu_set_polarization(0, POLARIZATION_UNKNOWN);
 }
 
-void __init smp_cpus_done(unsigned int max_cpus)
-{
-}
-
 void __init smp_setup_processor_id(void)
 {
        pcpu_devices[0].address = stap();