summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-03-26 14:23:59 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 14:24:09 (GMT)
commitcc54c1e66e4b90ab657464fec30e6970636ee23d (patch)
treef682870f693a57cf113be2774be30c60b4dc77d2
parent92e6ecf392fac3082653ac9d84b1bdf53d0ea160 (diff)
downloadlinux-fsl-qoriq-cc54c1e66e4b90ab657464fec30e6970636ee23d.tar.xz
[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: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--drivers/s390/s390mach.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/s390mach.c b/drivers/s390/s390mach.c
index 92b0417..8e43705 100644
--- a/drivers/s390/s390mach.c
+++ b/drivers/s390/s390mach.c
@@ -357,8 +357,7 @@ s390_revalidate_registers(struct mci *mci)
/*
* machine check handler.
*/
-void
-s390_do_machine_check(struct pt_regs *regs)
+void notrace s390_do_machine_check(struct pt_regs *regs)
{
static DEFINE_SPINLOCK(ipd_lock);
static unsigned long long last_ipd;