mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
sparc64: Fix kernel thread stack termination.
Because of the silly way I set up the initial stack for new kernel threads, there is a loop at the top of the stack. To fix this, properly add another stack frame that is copied from the parent and terminate it in the child by setting the frame pointer in that frame to zero. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3651751fff
commit
a051bc5bb1
1 changed files with 25 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue