mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
[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>
This commit is contained in:
parent
5238da45f3
commit
a386fba251
2 changed files with 4 additions and 2 deletions
|
@ -12,15 +12,16 @@
|
||||||
* on the S390 architecture.
|
* on the S390 architecture.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/cio.h>
|
|
||||||
#include <asm/setup.h>
|
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
#include <linux/kexec.h>
|
#include <linux/kexec.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
#include <asm/cio.h>
|
||||||
|
#include <asm/setup.h>
|
||||||
#include <asm/pgtable.h>
|
#include <asm/pgtable.h>
|
||||||
#include <asm/pgalloc.h>
|
#include <asm/pgalloc.h>
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
|
#include <asm/smp.h>
|
||||||
|
|
||||||
static void kexec_halt_all_cpus(void *);
|
static void kexec_halt_all_cpus(void *);
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,7 @@ smp_call_function_on(void (*func) (void *info), void *info,
|
||||||
func(info);
|
func(info);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#define smp_cpu_not_running(cpu) 1
|
||||||
#define smp_get_cpu(cpu) ({ 0; })
|
#define smp_get_cpu(cpu) ({ 0; })
|
||||||
#define smp_put_cpu(cpu) ({ 0; })
|
#define smp_put_cpu(cpu) ({ 0; })
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue