]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: don't bother with CHECK_FULL_REGS in sys_fork() et.al.
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 22 Oct 2012 02:27:13 +0000 (22:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 22 Oct 2012 02:27:13 +0000 (22:27 -0400)
copy_thread() will do it anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/kernel/process.c

index 471c52cfc1fbc6ab2ccc16880d439fd55abe22e1..de9f032116c02bb6d4d4b6d1b59b75d44e2c6a66 100644 (file)
@@ -1030,7 +1030,6 @@ int sys_clone(unsigned long clone_flags, unsigned long usp,
              int __user *child_tidp, int p6,
              struct pt_regs *regs)
 {
-       CHECK_FULL_REGS(regs);
        if (usp == 0)
                usp = regs->gpr[1];     /* stack pointer for child */
        return do_fork(clone_flags, usp, regs, 0, parent_tidp, child_tidp);
@@ -1040,7 +1039,6 @@ int sys_fork(unsigned long p1, unsigned long p2, unsigned long p3,
             unsigned long p4, unsigned long p5, unsigned long p6,
             struct pt_regs *regs)
 {
-       CHECK_FULL_REGS(regs);
        return do_fork(SIGCHLD, regs->gpr[1], regs, 0, NULL, NULL);
 }
 
@@ -1048,7 +1046,6 @@ int sys_vfork(unsigned long p1, unsigned long p2, unsigned long p3,
              unsigned long p4, unsigned long p5, unsigned long p6,
              struct pt_regs *regs)
 {
-       CHECK_FULL_REGS(regs);
        return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs->gpr[1],
                        regs, 0, NULL, NULL);
 }