diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:30 -0400 |
commit | 2957c9e61ee9c37e7ebf2c8acab03e073fe942fd (patch) | |
tree | 50b4baea3b130ed3e1ef95a9c0f2d2761dd88693 /arch/mips/kernel/process.c | |
parent | 997288517ec839b7639fcba77111256b13a66000 (diff) |
[MIPS] IRIX: Goodbye and thanks for all the fish
Never terribly functional or popular, plagued by hard to fix bugs the time
to say goodbye has more than arrived.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 2c09a442e5e5..c06f5b5d764c 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -125,13 +125,6 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, | |||
125 | *childregs = *regs; | 125 | *childregs = *regs; |
126 | childregs->regs[7] = 0; /* Clear error flag */ | 126 | childregs->regs[7] = 0; /* Clear error flag */ |
127 | 127 | ||
128 | #if defined(CONFIG_BINFMT_IRIX) | ||
129 | if (current->personality != PER_LINUX) { | ||
130 | /* Under IRIX things are a little different. */ | ||
131 | childregs->regs[3] = 1; | ||
132 | regs->regs[3] = 0; | ||
133 | } | ||
134 | #endif | ||
135 | childregs->regs[2] = 0; /* Child gets zero as return value */ | 128 | childregs->regs[2] = 0; /* Child gets zero as return value */ |
136 | regs->regs[2] = p->pid; | 129 | regs->regs[2] = p->pid; |
137 | 130 | ||