Changeset ce031f0 in mainline for src/mm/tlb.c
- Timestamp:
- 2005-10-04T11:23:21Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e3f47b3
- Parents:
- 1e2aecca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mm/tlb.c
r1e2aecca rce031f0 28 28 29 29 #include <mm/tlb.h> 30 #include <arch/mm/tlb.h> 30 31 #include <smp/ipi.h> 31 32 #include <synch/spinlock.h> … … 38 39 #ifdef __SMP__ 39 40 static spinlock_t tlblock; 41 #endif 40 42 41 43 void tlb_init(void) 42 44 { 43 spinlock_initialize(&tlblock); 45 if (config.cpu_active == 1) 46 spinlock_initialize(&tlblock); 47 48 tlb_init_arch(); 44 49 } 45 50 51 #ifdef __SMP__ 46 52 /* must be called with interrupts disabled */ 47 53 void tlb_shootdown_start(void)
Note:
See TracChangeset
for help on using the changeset viewer.