[PATCH] s390: fix non smp build of kexec

Add missing smp_cpu_not_running define to avoid build warnings in the non smp
case.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Heiko Carstens and committed by Linus Torvalds a386fba2 5238da45

+4 -2
+3 -2
arch/s390/kernel/machine_kexec.c
··· 12 * on the S390 architecture. 13 */ 14 15 - #include <asm/cio.h> 16 - #include <asm/setup.h> 17 #include <linux/device.h> 18 #include <linux/mm.h> 19 #include <linux/kexec.h> 20 #include <linux/delay.h> 21 #include <asm/pgtable.h> 22 #include <asm/pgalloc.h> 23 #include <asm/system.h> 24 25 static void kexec_halt_all_cpus(void *); 26
··· 12 * on the S390 architecture. 13 */ 14 15 #include <linux/device.h> 16 #include <linux/mm.h> 17 #include <linux/kexec.h> 18 #include <linux/delay.h> 19 + #include <asm/cio.h> 20 + #include <asm/setup.h> 21 #include <asm/pgtable.h> 22 #include <asm/pgalloc.h> 23 #include <asm/system.h> 24 + #include <asm/smp.h> 25 26 static void kexec_halt_all_cpus(void *); 27
+1
include/asm-s390/smp.h
··· 101 func(info); 102 return 0; 103 } 104 #define smp_get_cpu(cpu) ({ 0; }) 105 #define smp_put_cpu(cpu) ({ 0; }) 106 #endif
··· 101 func(info); 102 return 0; 103 } 104 + #define smp_cpu_not_running(cpu) 1 105 #define smp_get_cpu(cpu) ({ 0; }) 106 #define smp_put_cpu(cpu) ({ 0; }) 107 #endif