summaryrefslogtreecommitdiffstats
path: root/tapset/context.stp
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-11-28 01:33:45 +0300
committerFrank Ch. Eigler <fche@elastic.org>2009-12-01 11:57:32 -0500
commitfb4653ea565018aa26a730db6b59ff64f2c6afa8 (patch)
treea343331fd74ce896232ca657f17ba84b47c2fd7f /tapset/context.stp
parent2069eacc8e19d784bb9e5eb532fcd61e5de1b606 (diff)
downloadsystemtap-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/context.stp')
-rw-r--r--tapset/context.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/context.stp b/tapset/context.stp
index 36701e6e..b30f7dca 100644
--- a/tapset/context.stp
+++ b/tapset/context.stp
@@ -15,7 +15,7 @@
%{
#include <asm/processor.h>
-#if defined(__powerpc64__)
+#if defined(__powerpc__)
#if !defined(task_pt_regs)
#define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.regs)
#endif