patch-2.2.4 linux/include/asm-sparc/mmu_context.h

Next file: linux/include/asm-sparc/page.h
Previous file: linux/include/asm-sparc/io-unit.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/include/asm-sparc/mmu_context.h linux/include/asm-sparc/mmu_context.h
@@ -22,11 +22,9 @@
 
 #define destroy_context(mm) BTFIXUP_CALL(destroy_context)(mm)
 
-/*
- * After we have set current->mm to a new value, this activates
+/* After we have set current->mm to a new value, this activates
  * the context for the new mm so we see the new mappings.
- * XXX this presumably needs a sensible implementation - paulus.
  */
-#define activate_context(tsk)	do { } while(0)
+#define activate_context(tsk)	switch_to_context(tsk)
 
 #endif /* !(__SPARC_MMU_CONTEXT_H) */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)