]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/kernel/process.c
[MIPS] IRIX: Goodbye and thanks for all the fish
[linux-2.6-omap-h63xx.git] / arch / mips / kernel / process.c
index 2c09a442e5e5939160843570e60e829a5995fe32..c06f5b5d764cdb6779ad93aa453732c8218397b4 100644 (file)
@@ -125,13 +125,6 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
        *childregs = *regs;
        childregs->regs[7] = 0; /* Clear error flag */
 
-#if defined(CONFIG_BINFMT_IRIX)
-       if (current->personality != PER_LINUX) {
-               /* Under IRIX things are a little different. */
-               childregs->regs[3] = 1;
-               regs->regs[3] = 0;
-       }
-#endif
        childregs->regs[2] = 0; /* Child gets zero as return value */
        regs->regs[2] = p->pid;