diff options
author | hunt <hunt> | 2006-10-13 02:29:41 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-10-13 02:29:41 +0000 |
commit | 4baacc2565ffad22543526152e37af7d1f5efe9b (patch) | |
tree | 8ba28d7dac44f2f567c67353e47472ec91578d6e /runtime/stack-ppc64.c | |
parent | d2a11534a5193a1f4eae4cc4184165113ab2869d (diff) | |
download | systemtap-steved-4baacc2565ffad22543526152e37af7d1f5efe9b.tar.gz systemtap-steved-4baacc2565ffad22543526152e37af7d1f5efe9b.tar.xz systemtap-steved-4baacc2565ffad22543526152e37af7d1f5efe9b.zip |
2006-10-12 Martin Hunt <hunt@redhat.com>
* stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.
Diffstat (limited to 'runtime/stack-ppc64.c')
-rw-r--r-- | runtime/stack-ppc64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack-ppc64.c b/runtime/stack-ppc64.c index 0a30bc84..72542bd2 100644 --- a/runtime/stack-ppc64.c +++ b/runtime/stack-ppc64.c @@ -11,9 +11,9 @@ static void __stp_stack_sprint (String str, struct pt_regs *regs, int verbose, i { unsigned long ip, newsp, lr = 0; int count = 0; - unsigned long sp = (unsigned long)_sp; int firstframe = 1; unsigned long *_sp = (unsigned long *)®_SP(regs); + unsigned long sp = (unsigned long)_sp; lr = 0; do { if (sp < KERNELBASE) |