Rev 552 | Rev 594 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 552 | Rev 569 | ||
|---|---|---|---|
| Line 43... | Line 43... | ||
| 43 | void tlb_init(void) |
43 | void tlb_init(void) |
| 44 | { |
44 | { |
| 45 | if (config.cpu_active == 1) |
45 | if (config.cpu_active == 1) |
| 46 | spinlock_initialize(&tlblock, "tlb_lock"); |
46 | spinlock_initialize(&tlblock, "tlb_lock"); |
| 47 | 47 | ||
| 48 | tlb_init_arch(); |
48 | tlb_arch_init(); |
| 49 | } |
49 | } |
| 50 | 50 | ||
| 51 | #ifdef CONFIG_SMP |
51 | #ifdef CONFIG_SMP |
| 52 | /* must be called with interrupts disabled */ |
52 | /* must be called with interrupts disabled */ |
| 53 | void tlb_shootdown_start(void) |
53 | void tlb_shootdown_start(void) |