diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-03-15 12:08:33 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-03-15 12:08:24 -0400 |
commit | 6966727db1389f4926c6fa6e87a600112a5658b9 (patch) | |
tree | 187ce5503669aff26980ebbe4d0b64b6f36d81df | |
parent | d7b081ac0b8eee5f2a58123235061ee1b99a4f4d (diff) |
[S390] kexec: Disable ftrace during kexec
Disable ftrace during kexec. Same as on x86/powerpc.
ac4414e "powerpc/kdump: Disable ftrace during kexec".
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r-- | arch/s390/kernel/machine_kexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/machine_kexec.c b/arch/s390/kernel/machine_kexec.c index a922d51df6bf..b09b9c62573e 100644 --- a/arch/s390/kernel/machine_kexec.c +++ b/arch/s390/kernel/machine_kexec.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/kexec.h> | 12 | #include <linux/kexec.h> |
13 | #include <linux/delay.h> | 13 | #include <linux/delay.h> |
14 | #include <linux/reboot.h> | 14 | #include <linux/reboot.h> |
15 | #include <linux/ftrace.h> | ||
15 | #include <asm/cio.h> | 16 | #include <asm/cio.h> |
16 | #include <asm/setup.h> | 17 | #include <asm/setup.h> |
17 | #include <asm/pgtable.h> | 18 | #include <asm/pgtable.h> |
@@ -71,6 +72,7 @@ static void __machine_kexec(void *data) | |||
71 | 72 | ||
72 | void machine_kexec(struct kimage *image) | 73 | void machine_kexec(struct kimage *image) |
73 | { | 74 | { |
75 | tracer_disable(); | ||
74 | smp_send_stop(); | 76 | smp_send_stop(); |
75 | smp_switch_to_ipl_cpu(__machine_kexec, image); | 77 | smp_switch_to_ipl_cpu(__machine_kexec, image); |
76 | } | 78 | } |