Nanyong Sun 288f6775a0
riscv: ftrace: Use ftrace_get_regs helper
Use ftrace_get_regs() helper call to get pt_regs from ftrace_regs struct,
this makes the code simpler.

Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-03-09 20:46:06 -08:00
..
2020-03-31 11:28:30 -07:00
2020-03-31 11:28:30 -07:00
2020-10-02 14:31:28 -07:00
2020-10-02 14:30:57 -07:00
2020-06-09 19:11:24 -07:00
2021-01-14 15:09:08 -08:00
2021-01-07 19:00:50 -08:00