patch-2.0.13 linux/arch/alpha/kernel/process.c
Next file: linux/arch/alpha/mm/init.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Aug 15 11:33:18 1996
- Orig file:
v2.0.12/linux/arch/alpha/kernel/process.c
- Orig date:
Mon Aug 5 10:13:50 1996
diff -u --recursive --new-file v2.0.12/linux/arch/alpha/kernel/process.c linux/arch/alpha/kernel/process.c
@@ -81,6 +81,17 @@
}
/*
+ * Re-start a thread when doing execve()
+ */
+void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
+{
+ current->tss.segment = USER_DS;
+ regs->pc = pc;
+ regs->ps = 8;
+ wrusp(sp);
+}
+
+/*
* Free current thread data structures etc..
*/
void exit_thread(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov