Merge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
[cascardo/linux.git] / arch / powerpc / kernel / process.c
index aa1df89..923cd2d 100644 (file)
@@ -1545,7 +1545,7 @@ void show_stack(struct task_struct *tsk, unsigned long *stack)
                tsk = current;
        if (sp == 0) {
                if (tsk == current)
-                       asm("mr %0,1" : "=r" (sp));
+                       sp = current_stack_pointer();
                else
                        sp = tsk->thread.ksp;
        }