]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-um/mmu_context.h
e1000: Added driver comments and whitespace changes. Modified long lines of code...
[linux-2.6-omap-h63xx.git] / include / asm-um / mmu_context.h
index 2edb4f1f789cdb96e0208da409622db6f1eaa70b..9a0e48eb542e019d5e259f3972550649bb1e46a8 100644 (file)
@@ -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,