[PATCH] s390: fix non smp build of kexec
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sun, 12 Feb 2006 01:56:01 +0000 (17:56 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 12 Feb 2006 05:41:12 +0000 (21:41 -0800)
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>
arch/s390/kernel/machine_kexec.c
include/asm-s390/smp.h

index f0ed5c642c74cb6480426b106d1cc3e0aa05eed1..bad81b5832db51c0c84aabcd84a3c53409c1704e 100644 (file)
  * on the S390 architecture.
  */
 
-#include <asm/cio.h>
-#include <asm/setup.h>
 #include <linux/device.h>
 #include <linux/mm.h>
 #include <linux/kexec.h>
 #include <linux/delay.h>
+#include <asm/cio.h>
+#include <asm/setup.h>
 #include <asm/pgtable.h>
 #include <asm/pgalloc.h>
 #include <asm/system.h>
+#include <asm/smp.h>
 
 static void kexec_halt_all_cpus(void *);
 
index a2ae7628bbaaf8e0c0d06a9fab16863aac607777..9c6e9c300eb9797a54776b60e247df1515d17a37 100644 (file)
@@ -101,6 +101,7 @@ smp_call_function_on(void (*func) (void *info), void *info,
        func(info);
        return 0;
 }
+#define smp_cpu_not_running(cpu)       1
 #define smp_get_cpu(cpu) ({ 0; })
 #define smp_put_cpu(cpu) ({ 0; })
 #endif