Skip to content
Commit a051bc5b authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 3651751f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment