]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Sun-3: Add missing deactivate_mm()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 16 Jan 2003 00:10:51 +0000 (16:10 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 16 Jan 2003 00:10:51 +0000 (16:10 -0800)
Sun-3: Add missing deactivate_mm() (yes, there should be two of them in
include/asm-m68k/mmu_context.h: one for Motorola MMUs and one for Sun-3 MMUs)

include/asm-m68k/mmu_context.h

index 43e01962d5d81f0c28208e93c5cdb924c141ca36..04cfa101eb70c33f73b574508ea6f03428237c56 100644 (file)
@@ -142,6 +142,8 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, str
        activate_context(tsk->mm);
 }
 
+#define deactivate_mm(tsk,mm)  do { } while (0)
+
 extern inline void activate_mm(struct mm_struct *prev_mm,
                               struct mm_struct *next_mm)
 {