mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
selftests/ftrace: Add ppc support for kprobe args tests
Add powerpc support for the recently added kprobe args tests. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
This commit is contained in:
parent
fa32156921
commit
9855c4626c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user