diff options
| -rw-r--r-- | arch/powerpc/mm/mmu_context_nohash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c index a70e311bd457..030d0005b4d2 100644 --- a/arch/powerpc/mm/mmu_context_nohash.c +++ b/arch/powerpc/mm/mmu_context_nohash.c | |||
| @@ -127,12 +127,12 @@ static unsigned int steal_context_up(unsigned int id) | |||
| 127 | 127 | ||
| 128 | pr_debug("[%d] steal context %d from mm @%p\n", cpu, id, mm); | 128 | pr_debug("[%d] steal context %d from mm @%p\n", cpu, id, mm); |
| 129 | 129 | ||
| 130 | /* Mark this mm has having no context anymore */ | ||
| 131 | mm->context.id = MMU_NO_CONTEXT; | ||
| 132 | |||
| 133 | /* Flush the TLB for that context */ | 130 | /* Flush the TLB for that context */ |
| 134 | local_flush_tlb_mm(mm); | 131 | local_flush_tlb_mm(mm); |
| 135 | 132 | ||
| 133 | /* Mark this mm has having no context anymore */ | ||
| 134 | mm->context.id = MMU_NO_CONTEXT; | ||
| 135 | |||
| 136 | /* XXX This clear should ultimately be part of local_flush_tlb_mm */ | 136 | /* XXX This clear should ultimately be part of local_flush_tlb_mm */ |
| 137 | __clear_bit(id, stale_map[cpu]); | 137 | __clear_bit(id, stale_map[cpu]); |
| 138 | 138 | ||
