Changes in kernel/genarch/src/mm/asid.c [402eda5:98000fb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/asid.c
r402eda5 r98000fb 70 70 /** Allocate free address space identifier. 71 71 * 72 * Interrupts must be disabled and inactive_as_with_asid_lock must be held 73 * prior to this call 74 * 72 75 * @return New ASID. 73 76 */ … … 77 80 link_t *tmp; 78 81 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 ipl_t ipl =tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);128 tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0); 129 129 tlb_invalidate_asid(asid); 130 tlb_shootdown_finalize( ipl);130 tlb_shootdown_finalize(); 131 131 } else { 132 132 … … 142 142 * Purge the allocated ASID from TLBs. 143 143 */ 144 ipl_t ipl =tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);144 tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0); 145 145 tlb_invalidate_asid(asid); 146 tlb_shootdown_finalize( ipl);146 tlb_shootdown_finalize(); 147 147 } 148 148
Note:
See TracChangeset
for help on using the changeset viewer.