]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning again
authorLi Zhong <zhong@linux.vnet.ibm.com>
Mon, 6 May 2013 22:44:41 +0000 (22:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 May 2013 04:36:35 +0000 (14:36 +1000)
commit71b15e79e33cc203b4278c5b7289df7330be7eb3
tree1b9221a0cd507aef6f62e4874fc33947e549923e
parent6a20eac34768a27850d431d90615f4d8f01cd392
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>
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/process.c