Commit 0142b00d authored by David S. Miller's avatar David S. Miller

[SPARC]: Handle clone flag name changes.

parent bfb8d126
......@@ -463,7 +463,7 @@ asmlinkage int sparc_do_fork(unsigned long clone_flags,
clone_flags &= ~CLONE_IDLETASK;
if (clone_flags & (CLONE_SETTID | CLONE_CLEARTID)) {
if (clone_flags & (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)) {
parent_tid_ptr = regs->u_regs[UREG_G2];
child_tid_ptr = regs->u_regs[UREG_G3];
}
......
......@@ -573,7 +573,7 @@ asmlinkage int sparc_do_fork(unsigned long clone_flags,
clone_flags &= ~CLONE_IDLETASK;
if (clone_flags & (CLONE_SETTID | CLONE_CLEARTID)) {
if (clone_flags & (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)) {
parent_tid_ptr = regs->u_regs[UREG_G2];
child_tid_ptr = regs->u_regs[UREG_G3];
if (test_thread_flag(TIF_32BIT)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment