s390/tracing: pass struct ftrace_regs to ftrace_trace_function
authorSven Schnelle <svens@linux.ibm.com>
Mon, 17 Jul 2023 08:14:32 +0000 (10:14 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Jul 2023 10:12:24 +0000 (12:12 +0200)
commite3123dfb5373939d65ac2b874189a773d37ac7f5
tree40757a099e1479c19fad964ea61b2bc4e26af536
parent5216d853cb154a4866c9984fd41f71583e8bdd39
s390/tracing: pass struct ftrace_regs to ftrace_trace_function

ftrace_trace_function expects a struct ftrace_regs, but the s390
architecure code passes struct pt_regs. This isn't a problem with the
current code because struct ftrace_regs contains only one member:
struct pt_regs. To avoid issues in the future this should be fixed.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/mcount.S