summaryrefslogtreecommitdiff
path: root/arch/alpha/lib/stacktrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/lib/stacktrace.c')
-rw-r--r--arch/alpha/lib/stacktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/lib/stacktrace.c b/arch/alpha/lib/stacktrace.c
index 62454a7810e2..2b1176dd5174 100644
--- a/arch/alpha/lib/stacktrace.c
+++ b/arch/alpha/lib/stacktrace.c
@@ -92,7 +92,7 @@ stacktrace(void)
{
instr * ret_pc;
instr * prologue = (instr *)stacktrace;
- register unsigned char * sp __asm__ ("$30");
+ unsigned char *sp = (unsigned char *)current_stack_pointer;
printk("\tstack trace:\n");
do {