mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
18badddaa8
commit
28078e8f97
1 changed files with 2 additions and 0 deletions
|
|
@ -149,4 +149,6 @@ void destroy_context(struct mm_struct *mm)
|
|||
pmd_free((pmd_t *) mmu->last_pmd);
|
||||
#endif
|
||||
}
|
||||
|
||||
free_ldt(mmu);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue