patch-2.4.0-test12 linux/arch/i386/kernel/process.c
Next file: linux/arch/i386/kernel/setup.c
Previous file: linux/arch/i386/kernel/pci-irq.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Nov 24 18:32:20 2000
- Orig file:
v2.4.0-test11/linux/arch/i386/kernel/process.c
- Orig date:
Sun Oct 8 10:50:06 2000
diff -u --recursive --new-file v2.4.0-test11/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -496,9 +496,9 @@
void copy_segments(struct task_struct *p, struct mm_struct *new_mm)
{
struct mm_struct * old_mm = current->mm;
- void * old_ldt = old_mm->segments, * ldt = old_ldt;
+ void * old_ldt = old_mm->segments, * ldt;
- if (!old_mm->segments) {
+ if (!old_ldt) {
/*
* default LDT - use the one from init_task
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)