Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
cc54c1e6 92e6ecf3

+1 -2
+1 -2
drivers/s390/s390mach.c
··· 357 357 /* 358 358 * machine check handler. 359 359 */ 360 - void 361 - s390_do_machine_check(struct pt_regs *regs) 360 + void notrace s390_do_machine_check(struct pt_regs *regs) 362 361 { 363 362 static DEFINE_SPINLOCK(ipd_lock); 364 363 static unsigned long long last_ipd;