diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-11-28 01:33:45 +0300 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-12-01 11:57:32 -0500 |
commit | fb4653ea565018aa26a730db6b59ff64f2c6afa8 (patch) | |
tree | a343331fd74ce896232ca657f17ba84b47c2fd7f /tapset/errno.stp | |
parent | 2069eacc8e19d784bb9e5eb532fcd61e5de1b606 (diff) | |
download | systemtap-steved-fb4653ea565018aa26a730db6b59ff64f2c6afa8.tar.gz systemtap-steved-fb4653ea565018aa26a730db6b59ff64f2c6afa8.tar.xz systemtap-steved-fb4653ea565018aa26a730db6b59ff64f2c6afa8.zip |
Share ppc64 and ppc32 code where possible
* runtime/copy.c: Can use ppc64's code.
* runtime/regs.h: Ditto.
* runtime/string.h: Ditto.
* tapset/context.stp: Ditto.
* tapset/errno.stp: Ditto.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'tapset/errno.stp')
-rw-r--r-- | tapset/errno.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/errno.stp b/tapset/errno.stp index 011ff7e2..d4d571be 100644 --- a/tapset/errno.stp +++ b/tapset/errno.stp @@ -369,7 +369,7 @@ static long _stp_returnval(struct pt_regs *regs) { #elif defined (__x86_64__) // TODO: Handle -m32 apps. return regs->rax; -#elif defined (__powerpc64__) +#elif defined (__powerpc__) return regs->gpr[3]; #elif defined (__ia64__) return regs->r8; |