Changes in kernel/genarch/src/mm/asid.c [98000fb:402eda5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/asid.c
r98000fb r402eda5 70 70 /** Allocate free address space identifier. 71 71 * 72 * Interrupts must be disabled and inactive_as_with_asid_lock must be held73 * prior to this call74 *75 72 * @return New ASID. 76 73 */ … … 80 77 link_t *tmp; 81 78 as_t *as; 79 80 ASSERT(interrupts_disabled()); 81 ASSERT(spinlock_locked(&asidlock)); 82 82 83 83 /* … … 126 126 * Get the system rid of the stolen ASID. 127 127 */ 128 tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);128 ipl_t ipl = tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0); 129 129 tlb_invalidate_asid(asid); 130 tlb_shootdown_finalize( );130 tlb_shootdown_finalize(ipl); 131 131 } else { 132 132 … … 142 142 * Purge the allocated ASID from TLBs. 143 143 */ 144 tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);144 ipl_t ipl = tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0); 145 145 tlb_invalidate_asid(asid); 146 tlb_shootdown_finalize( );146 tlb_shootdown_finalize(ipl); 147 147 } 148 148
Note:
See TracChangeset
for help on using the changeset viewer.