summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1994-12-01 08:00:00 +0000
committer <ralf@linux-mips.org>1994-12-01 08:00:00 +0000
commit90ecc248e200fee448001248dde0ca540dd3ef64 (patch)
treea3fe89494ce63b4835f0f9cf5c45e74cde88252b /kernel/exit.c
parent1513ff9b7899ab588401c89db0e99903dbf5f886 (diff)
Import of Linux/MIPS 1.1.68
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index b2a8c4fb0..3a48c5c23 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -370,6 +370,7 @@ static void exit_mm(void)
mpnt = next;
}
+#ifdef __i386__
/* forget local segments */
__asm__ __volatile__("mov %w0,%%fs ; mov %w0,%%gs ; lldt %w0"
: /* no outputs */
@@ -380,6 +381,7 @@ static void exit_mm(void)
current->ldt = NULL;
vfree(ldt);
}
+#endif
free_page_tables(current);
}