x86/ftrace: Remove ftrace_epilogue()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Sep 2022 11:11:35 +0000 (13:11 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Oct 2022 14:41:18 +0000 (16:41 +0200)
commiteac828eaef295cd0cc8b58f55fa5c8401fdc2370
tree6fe1ce228938debd23aea644f731f1505caa8152
parentb2e9dfe54be4d023124d588d6f03d16a9c0d2507
x86/ftrace: Remove ftrace_epilogue()

Remove the weird jumps to RET and simply use RET.

This then promotes ftrace_stub() to a real function; which becomes
important for kcfi.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111148.719080593@infradead.org
arch/x86/kernel/ftrace_64.S