Peter Zijlstra 883bbbffa5 ftrace,kcfi: Separate ftrace_stub() and ftrace_stub_graph()
Different function signatures means they needs to be different
functions; otherwise CFI gets upset.

As triggered by the ftrace boot tests:

  [] CFI failure at ftrace_return_to_handler+0xac/0x16c (target: ftrace_stub+0x0/0x14; expected type: 0x0a5d5347)

Fixes: 3c516f89e17e ("x86: Add support for CONFIG_CFI_CLANG")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lkml.kernel.org/r/Y06dg4e1xF6JTdQq@hirez.programming.kicks-ass.net
2022-10-20 17:10:27 +02:00
..
2022-10-06 11:51:49 -07:00
2022-07-01 12:07:43 +01:00
2022-06-27 12:22:31 +01:00
2022-10-06 11:51:49 -07:00
2022-10-06 11:51:49 -07:00
2021-08-04 16:54:36 +00:00
2022-10-06 11:51:49 -07:00
2022-10-06 11:51:49 -07:00
2022-10-09 08:56:54 -07:00
2020-09-07 15:00:52 +01:00
2022-09-26 10:13:14 -07:00
2022-10-10 12:00:45 -07:00
2022-01-12 16:26:58 -08:00
2022-09-26 10:13:14 -07:00
2022-10-06 11:51:49 -07:00
2022-07-20 16:08:10 +01:00
2022-09-26 10:13:14 -07:00
2022-10-06 11:51:49 -07:00