s390/ftrace: remove preempt_disable()/preempt_enable() pair
authorJerome Marchand <jmarchan@redhat.com>
Wed, 8 Dec 2021 15:15:03 +0000 (16:15 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 10 Dec 2021 15:12:34 +0000 (16:12 +0100)
commitac8fc6af1ab62b2e5d57ddadc8bd4c9433c49a72
tree36118509d21238641339cb1308a4ab50862fe88b
parent41967a37b8eedfee15b81406a9f3015be90d3980
s390/ftrace: remove preempt_disable()/preempt_enable() pair

It looks like commit ce5e48036c9e76a2 ("ftrace: disable preemption
when recursion locked") missed a spot in kprobe_ftrace_handler() in
arch/s390/kernel/ftrace.c.
Remove the superfluous preempt_disable/enable_notrace() there too.

Fixes: ce5e48036c9e76a2 ("ftrace: disable preemption when recursion locked")
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Link: https://lore.kernel.org/r/20211208151503.1510381-1-jmarchan@redhat.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/ftrace.c