From: Heiko Carstens Date: Thu, 26 Mar 2009 14:23:59 +0000 (+0100) Subject: [S390] ftrace: dont trace machine check handler X-Git-Tag: upstream/snapshot3+hdmi~19922^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc54c1e66e4b90ab657464fec30e6970636ee23d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 Signed-off-by: Martin Schwidefsky --- 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;