Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86, 64-bit: Use user_mode() to determine new stack pointer in copy_t…
…hread() Use user_mode() instead of a magic value for sp to determine when returning to kernel mode. Signed-off-by: Brian Gerst <brgerst@gmail.com> LKML-Reference: <1260380084-3707-3-git-send-email-brgerst@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
- Loading branch information