Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1635 → Rev 1636

/kernel/trunk/genarch/src/mm/asid.c
124,8 → 124,8
* Get the system rid of the stolen ASID.
*/
tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);
tlb_invalidate_asid(asid);
tlb_shootdown_finalize();
tlb_invalidate_asid(asid);
} else {
 
/*
135,6 → 135,13
 
asid = asid_find_free();
asids_allocated++;
 
/*
* Purge the allocated rid from TLBs.
*/
tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);
tlb_invalidate_asid(asid);
tlb_shootdown_finalize();
}
spinlock_unlock(&asidlock);