sh/ftrace: Move arch_ftrace_nmi_{enter,exit} into nmi exception
authorPeter Zijlstra <peterz@infradead.org>
Mon, 24 Feb 2020 21:26:21 +0000 (22:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 19 May 2020 13:51:18 +0000 (15:51 +0200)
commit178ba00c354eb15cec6806a812771e60a5ae3ea1
treef79e1f0d27f2331e508359e3485be99e8bcee528
parente616cb8daadf637175af4fe53138a94c190c4816
sh/ftrace: Move arch_ftrace_nmi_{enter,exit} into nmi exception

SuperH is the last remaining user of arch_ftrace_nmi_{enter,exit}(),
remove it from the generic code and into the SuperH code.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Link: https://lkml.kernel.org/r/20200505134101.248881738@linutronix.de
Documentation/trace/ftrace-design.rst
arch/sh/Kconfig
arch/sh/kernel/traps.c
include/linux/ftrace_irq.h
kernel/trace/Kconfig