aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorHeiko Carstens2020-07-01 11:16:16 +0200
committerHeiko Carstens2020-07-03 10:49:08 +0200
commit24840e76bf8a679d26d373a0edc44284bfd9dc18 (patch)
tree675d7057ba60d44e42a43136c2ed29245fc3ad8f /arch/s390/include/asm
parent5cdfbdce5de6b5b56e104676409762fc1289a9c2 (diff)
s390/smp: move smp_cpus_done() to header file
Saves us a couple of bytes. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/smp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/include/asm/smp.h b/arch/s390/include/asm/smp.h
index 7326f110d48c..20b37b059e2b 100644
--- a/arch/s390/include/asm/smp.h
+++ b/arch/s390/include/asm/smp.h
@@ -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);