summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_32.S
diff options
context:
space:
mode:
authorLi Zhong <zhong@linux.vnet.ibm.com>2012-12-02 21:19:22 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-01-10 07:00:34 +0100
commite253ebab935693cc2eafbc93e94b68b47dc779db (patch)
tree4b638bc0f2ab0c73dcf36d0097fff3e7e5443154 /arch/powerpc/kernel/entry_32.S
parentpowerpc: Build kernel with -mcmodel=medium (diff)
downloadlinux-e253ebab935693cc2eafbc93e94b68b47dc779db.tar.xz
linux-e253ebab935693cc2eafbc93e94b68b47dc779db.zip
powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning for ppc32
This patch fixes MAX_STACK_TRACE_ENTRIES too low warning for ppc32, which is similar to commit 12660b17. Reported-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com> Tested-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/kernel/entry_32.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S
index d22e73e4618b..e514de57a125 100644
--- a/arch/powerpc/kernel/entry_32.S
+++ b/arch/powerpc/kernel/entry_32.S
@@ -439,6 +439,8 @@ ret_from_fork:
ret_from_kernel_thread:
REST_NVGPRS(r1)
bl schedule_tail
+ li r3,0
+ stw r3,0(r1)
mtlr r14
mr r3,r15
PPC440EP_ERR42