]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/exit.c
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty...
[karo-tx-linux.git] / kernel / exit.c
index 60bc027c61c3a3be8d5bc26b024ffac0a79f1af9..af2eb3cbd499305c3d418c7f8280c2d7f0f9437d 100644 (file)
@@ -847,7 +847,7 @@ void do_exit(long code)
                exit_io_context(tsk);
 
        if (tsk->splice_pipe)
-               __free_pipe_info(tsk->splice_pipe);
+               free_pipe_info(tsk->splice_pipe);
 
        if (tsk->task_frag.page)
                put_page(tsk->task_frag.page);
@@ -1629,9 +1629,6 @@ SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *,
        }
 
        put_pid(pid);
-
-       /* avoid REGPARM breakage on x86: */
-       asmlinkage_protect(5, ret, which, upid, infop, options, ru);
        return ret;
 }
 
@@ -1669,8 +1666,6 @@ SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr,
        ret = do_wait(&wo);
        put_pid(pid);
 
-       /* avoid REGPARM breakage on x86: */
-       asmlinkage_protect(4, ret, upid, stat_addr, options, ru);
        return ret;
 }