Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9855c462 authored by Naveen N. Rao's avatar Naveen N. Rao Committed by Shuah Khan (Samsung OSG)
Browse files

selftests/ftrace: Add ppc support for kprobe args tests



Add powerpc support for the recently added kprobe args tests.

Signed-off-by: default avatarNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Acked-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarShuah Khan (Samsung OSG) <shuah@kernel.org>
parent fa321569
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -24,6 +24,14 @@ arm*)
  ARG2=%r1
  ARG2=%r1
  OFFS=4
  OFFS=4
;;
;;
ppc64*)
  ARG2=%r4
  OFFS=8
;;
ppc*)
  ARG2=%r4
  OFFS=4
;;
*)
*)
  echo "Please implement other architecture here"
  echo "Please implement other architecture here"
  exit_untested
  exit_untested
+7 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,13 @@ arm*)
  GOODREG=%r0
  GOODREG=%r0
  BADREG=%ax
  BADREG=%ax
;;
;;
ppc*)
  GOODREG=%r3
  BADREG=%msr
;;
*)
  echo "Please implement other architecture here"
  exit_untested
esac
esac


test_goodarg() # Good-args
test_goodarg() # Good-args