Commit 11df2885 authored by Yu Liao's avatar Yu Liao Committed by Shuah Khan

selftests/ftrace: Add riscv support for kprobe arg tests

This is the riscv variant of commit 9855c462 ("selftests/ftrace:
Add ppc support for kprobe args tests").
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Acked-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 2eadb329
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment