diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 05:27:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 05:27:25 +0000 |
commit | c9c06167e7933d93a6e396174c68abf242294abb (patch) | |
tree | d9a8bb30663e9a3405a1ef37ffb62bc14b9f019f /arch/i386/kernel/process.c | |
parent | f79e8cc3c34e4192a3e5ef4cc9c6542fdef703c0 (diff) |
Merge with Linux 2.4.0-test12.
Diffstat (limited to 'arch/i386/kernel/process.c')
-rw-r--r-- | arch/i386/kernel/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/process.c b/arch/i386/kernel/process.c index 6d3cf4d9a..8e7176c32 100644 --- a/arch/i386/kernel/process.c +++ b/arch/i386/kernel/process.c @@ -496,9 +496,9 @@ void release_thread(struct task_struct *dead_task) 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 */ |