aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 04:27:08 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:06 -0400
commit28078e8f9790be0854a54f06de822689ab571944 (patch)
tree0eb88c18906541020c79b0411d17b988ed5fcedf /arch
parent18badddaa84e13e126f4ca5df47ac55b97a2635a (diff)
uml: free LDT state on process exit
The space allocated for a process LDT wasn't being freed when the process exited. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/kernel/skas/mmu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c
index 48c8c136c038..ae79888cf520 100644
--- a/arch/um/kernel/skas/mmu.c
+++ b/arch/um/kernel/skas/mmu.c
@@ -149,4 +149,6 @@ void destroy_context(struct mm_struct *mm)
149 pmd_free((pmd_t *) mmu->last_pmd); 149 pmd_free((pmd_t *) mmu->last_pmd);
150#endif 150#endif
151 } 151 }
152
153 free_ldt(mmu);
152} 154}