]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests/ftrace: add loongarch support for kprobe args char tests
authorYu Liao <liaoyu15@huawei.com>
Wed, 18 Oct 2023 02:08:57 +0000 (10:08 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 18 Oct 2023 20:33:43 +0000 (14:33 -0600)
Add loongarch support for the recently added 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>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc

index ff7499eb98d6d71c836aa0e5b4b6ce86d96980d5..2b04603a3b4040ad8661aab59273b938f9a316a1 100644 (file)
@@ -28,6 +28,9 @@ s390*)
 mips*)
   ARG1=%r4
 ;;
+loongarch*)
+  ARG1=%r4
+;;
 *)
   echo "Please implement other architecture here"
   exit_untested