Skip to content

Commit

Permalink
[S390] ftrace: dont trace machine check handler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Mar 26, 2009
1 parent 92e6ecf commit cc54c1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/s390/s390mach.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cc54c1e

Please sign in to comment.