aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/process.c')
-rw-r--r--arch/i386/kernel/process.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/i386/kernel/process.c b/arch/i386/kernel/process.c
index 6081a10d3416..45e7f0ac4b04 100644
--- a/arch/i386/kernel/process.c
+++ b/arch/i386/kernel/process.c
@@ -402,17 +402,7 @@ void flush_thread(void)
402 402
403void release_thread(struct task_struct *dead_task) 403void release_thread(struct task_struct *dead_task)
404{ 404{
405 if (dead_task->mm) { 405 BUG_ON(dead_task->mm);
406 // temporary debugging check
407 if (dead_task->mm->context.size) {
408 printk("WARNING: dead process %8s still has LDT? <%p/%d>\n",
409 dead_task->comm,
410 dead_task->mm->context.ldt,
411 dead_task->mm->context.size);
412 BUG();
413 }
414 }
415
416 release_vm86_irqs(dead_task); 406 release_vm86_irqs(dead_task);
417} 407}
418 408