s390/abs_lowcore: Include linux/smp.h for get_cpu() and put_cpu()
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 10 Dec 2024 11:35:46 +0000 (12:35 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 15 Dec 2024 15:19:04 +0000 (16:19 +0100)
Add missing include of <linux/smp.h> in abs_lowcore.h to provide
declarations for get_cpu() and put_cpu() used in the code.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/abs_lowcore.h

index 17afb40f77a49b7863770f2ec77c6544a27e8211..004d17ea05cf38bb5ca0dd6958924ab47ff1e3b6 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef _ASM_S390_ABS_LOWCORE_H
 #define _ASM_S390_ABS_LOWCORE_H
 
+#include <linux/smp.h>
 #include <asm/lowcore.h>
 
 #define ABS_LOWCORE_MAP_SIZE   (NR_CPUS * sizeof(struct lowcore))