X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-um%2Fmmu_context.h;h=9a0e48eb542e019d5e259f3972550649bb1e46a8;hb=932355797530f5bd4e1355a2c384e9f3ccc3dcbc;hp=2edb4f1f789cdb96e0208da409622db6f1eaa70b;hpb=da1f136c26d45c57e8b2d711bf17a6e5ec4de2d1;p=linux-2.6 diff --git a/include/asm-um/mmu_context.h b/include/asm-um/mmu_context.h index 2edb4f1f78..9a0e48eb54 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,