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 <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Shuah Khan (Samsung OSG) <[email protected]>
This commit is contained in:
Naveen N. Rao authored and Shuah Khan (Samsung OSG) committed 2018-06-07 13:42:14 -06:00
1 parent fa32156921
commit 9855c4626c
2 files changed
+15

No files matched your search

@@ -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