Skip to content
  • Al Viro's avatar
    alpha: get rid of pointless insn in ret_from_kernel_thread · 206b1c60
    Al Viro authored
    
    
    	It used to clear a3, so that signal handling on
    return to userland would've passed zero r0 to do_work_pending(),
    preventing the syscall restart logics from triggering.
    
    	It had been pointless all along, since we only go there
    after successful do_execve().  Which does clear regs->r0 on alpha,
    preventing the syscall restart logics just fine, no extra help
    needed.  Good thing, that, since back in 2012 do_work_pending()
    has lost the second argument, shifting the registers used to pass
    that thing from a3 to a2.  Commit that had done that adjusted the
    entry.S code accordingly, but missed that one.
    
    	As the result, we were left with useless insn in
    ret_from_kernel_thread and confusing comment to go with it.
    Get rid of both...
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    206b1c60