diff options
author | Li Zhong <zhong@linux.vnet.ibm.com> | 2013-05-07 00:44:41 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-05-14 06:36:35 +0200 |
commit | af945cf4bfc6586f0739b8c7f67af75576dec25e (patch) | |
tree | 1b9221a0cd507aef6f62e4874fc33947e549923e /arch/powerpc/kernel/entry_32.S | |
parent | powerpc: Make CONFIG_RTAS_PROC depend on CONFIG_PROC_FS (diff) | |
download | linux-af945cf4bfc6586f0739b8c7f67af75576dec25e.tar.xz linux-af945cf4bfc6586f0739b8c7f67af75576dec25e.zip |
powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning again
Saw this warning again, and this time from the ret_from_fork path.
It seems we could clear the back chain earlier in copy_thread(), which
could cover both path, and also fix potential lockdep usage in
schedule_tail(), or exception occurred before we clear the back chain.
Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/entry_32.S')
-rw-r--r-- | arch/powerpc/kernel/entry_32.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S index e514de57a125..d22e73e4618b 100644 --- a/arch/powerpc/kernel/entry_32.S +++ b/arch/powerpc/kernel/entry_32.S @@ -439,8 +439,6 @@ 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 |