Changeset fdaad75d in mainline for kernel/generic/src/mm/tlb.c
- Timestamp:
- 2010-06-22T02:18:35Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ee42e43
- Parents:
- 4ca26c9b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/tlb.c
r4ca26c9b rfdaad75d 73 73 * to all other processors. 74 74 * 75 * This function must be called with interrupts disabled.76 *77 75 * @param type Type describing scope of shootdown. 78 76 * @param asid Address space, if required by type. … … 85 83 { 86 84 CPU->tlb_active = false; 87 irq_spinlock_lock(&tlblock, false);85 irq_spinlock_lock(&tlblock, true); 88 86 89 87 size_t i; … … 132 130 void tlb_shootdown_finalize(void) 133 131 { 134 irq_spinlock_unlock(&tlblock, false);132 irq_spinlock_unlock(&tlblock, true); 135 133 CPU->tlb_active = true; 136 134 }
Note:
See TracChangeset
for help on using the changeset viewer.