X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-um%2Fmmu_context.h;h=9a0e48eb542e019d5e259f3972550649bb1e46a8;hb=d07ad967e3c1cb955c4f9ee6a4eba4e6e1edb1e8;hp=2edb4f1f789cdb96e0208da409622db6f1eaa70b;hpb=c08319a9d50b5c9cb4fdb33728bd16497cf4ddd3;p=karo-tx-linux.git 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) * possible. */ if (old != new && (current->flags & PF_BORROWED_MM)) - force_flush_all(); + CHOOSE_MODE(force_flush_all(), + switch_mm_skas(&new->context.skas.id)); } static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,