summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/smp.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-02-12 02:56:01 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-12 06:41:12 +0100
commita386fba2516b5404864647906219ced57bf2f2b7 (patch)
treed5f483a67be2b94025afa38a3e6d56968cea63b8 /include/asm-s390/smp.h
parent[PATCH] s390: update maintainers file (diff)
downloadlinux-a386fba2516b5404864647906219ced57bf2f2b7.tar.xz
linux-a386fba2516b5404864647906219ced57bf2f2b7.zip
[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>
Diffstat (limited to 'include/asm-s390/smp.h')
-rw-r--r--include/asm-s390/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-s390/smp.h b/include/asm-s390/smp.h
index a2ae7628bbaa..9c6e9c300eb9 100644
--- a/include/asm-s390/smp.h
+++ b/include/asm-s390/smp.h
@@ -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