Commit cc54c1e6 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

[S390] ftrace: dont trace machine check handler

The ftrace code is currently not reentrant, so we better don't trace
our machine check handler. Machine checks are handled like NMIs on s390.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 92e6ecf3
...@@ -357,8 +357,7 @@ s390_revalidate_registers(struct mci *mci) ...@@ -357,8 +357,7 @@ s390_revalidate_registers(struct mci *mci)
/* /*
* machine check handler. * machine check handler.
*/ */
void void notrace s390_do_machine_check(struct pt_regs *regs)
s390_do_machine_check(struct pt_regs *regs)
{ {
static DEFINE_SPINLOCK(ipd_lock); static DEFINE_SPINLOCK(ipd_lock);
static unsigned long long last_ipd; static unsigned long long last_ipd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment