diff options
-rw-r--r-- | include/asm-um/mmu_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-um/mmu_context.h b/include/asm-um/mmu_context.h index 2edb4f1f789c..9a0e48eb542e 100644 --- a/include/asm-um/mmu_context.h +++ b/include/asm-um/mmu_context.h | |||
@@ -29,7 +29,8 @@ static inline void activate_mm(struct mm_struct *old, struct mm_struct *new) | |||
29 | * possible. | 29 | * possible. |
30 | */ | 30 | */ |
31 | if (old != new && (current->flags & PF_BORROWED_MM)) | 31 | if (old != new && (current->flags & PF_BORROWED_MM)) |
32 | force_flush_all(); | 32 | CHOOSE_MODE(force_flush_all(), |
33 | switch_mm_skas(&new->context.skas.id)); | ||
33 | } | 34 | } |
34 | 35 | ||
35 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, | 36 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, |