/* Flush all the (user) entries for the address space described by mm.  */
void flush_tlb_mm(struct mm_struct *mm)
/* Flush all the (user) entries for the address space described by mm.  */
void flush_tlb_mm(struct mm_struct *mm)
{
	struct vm_area_struct *mp;
	if (Hash == 0) {
		_tlbia();
		return;
	}
	for (mp = mm->mmap; mp != NULL; mp = mp->vm_next)
		flush_range(mp->vm_mm, mp->vm_start, mp->vm_end);
	FINISH_FLUSH;
}