提交 9855c462 编写于 作者: N Naveen N. Rao 提交者: Shuah Khan (Samsung OSG)

selftests/ftrace: Add ppc support for kprobe args tests

Add powerpc support for the recently added kprobe args tests.
Signed-off-by: NNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: NMasami Hiramatsu <mhiramat@kernel.org>
Acked-by: NSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: NShuah Khan (Samsung OSG) <shuah@kernel.org>
上级 fa321569
......@@ -24,6 +24,14 @@ arm*)
ARG2=%r1
OFFS=4
;;
ppc64*)
ARG2=%r4
OFFS=8
;;
ppc*)
ARG2=%r4
OFFS=4
;;
*)
echo "Please implement other architecture here"
exit_untested
......
......@@ -34,6 +34,13 @@ arm*)
GOODREG=%r0
BADREG=%ax
;;
ppc*)
GOODREG=%r3
BADREG=%msr
;;
*)
echo "Please implement other architecture here"
exit_untested
esac
test_goodarg() # Good-args
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册