Fix missing TLB-flush in exit_thread(2).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-06-25 00:42:25 +02:00
parent 8b3e25ce7f
commit 2d8d89b9f8
1 changed files with 1 additions and 0 deletions

View File

@ -325,6 +325,7 @@ static int sys_exit_thread(int status,
ScopedLock lock(&process->segment_lock);
Memory::UnmapMemory(process, (uintptr_t) extended.unmap_from,
extended.unmap_size);
Memory::Flush();
}
if ( flags & EXIT_THREAD_ZERO )