mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01: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 <[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:
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
|
||||
|
||||
Reference in new issue
Block a user