summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-03-26 17:23:59 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 17:24:09 +0300
commitcc54c1e66e4b90ab657464fec30e6970636ee23d (patch)
treef682870f693a57cf113be2774be30c60b4dc77d2 /drivers
parent92e6ecf392fac3082653ac9d84b1bdf53d0ea160 (diff)
downloadlinux-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>
Diffstat (limited to 'drivers')
-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 92b0417f8e12..8e437052e076 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;