Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1636 → Rev 1635

/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_shootdown_finalize();
tlb_invalidate_asid(asid);
tlb_shootdown_finalize();
} else {
 
/*
135,13 → 135,6
 
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);