From c9c06167e7933d93a6e396174c68abf242294abb Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 10 Jan 2001 05:27:25 +0000 Subject: Merge with Linux 2.4.0-test12. --- arch/i386/kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/i386/kernel/process.c') 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 */ -- cgit v1.2.3