mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
selftests/ftrace: Add riscv support for kprobe arg tests
This is the riscv variant of commit 9855c4626c
("selftests/ftrace:
Add ppc support for kprobe args tests").
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
2eadb32992
commit
11df28854b
3 changed files with 10 additions and 0 deletions
|
@ -31,6 +31,9 @@ mips*)
|
|||
loongarch*)
|
||||
ARG1=%r4
|
||||
;;
|
||||
riscv*)
|
||||
ARG1=%a0
|
||||
;;
|
||||
*)
|
||||
echo "Please implement other architecture here"
|
||||
exit_untested
|
||||
|
|
|
@ -31,6 +31,9 @@ mips*)
|
|||
loongarch*)
|
||||
ARG1=%r4
|
||||
;;
|
||||
riscv*)
|
||||
ARG1=%a0
|
||||
;;
|
||||
*)
|
||||
echo "Please implement other architecture here"
|
||||
exit_untested
|
||||
|
|
|
@ -44,6 +44,10 @@ loongarch*)
|
|||
GOODREG=%r4
|
||||
BADREG=%r12
|
||||
;;
|
||||
riscv*)
|
||||
GOODREG=%a0
|
||||
BADREG=%a8
|
||||
;;
|
||||
*)
|
||||
echo "Please implement other architecture here"
|
||||
exit_untested
|
||||
|
|
Loading…
Reference in a new issue