patch-2.2.5 linux/include/asm-sparc/mmu_context.h
Next file: linux/include/asm-sparc/processor.h
Previous file: linux/include/asm-ppc/termios.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Thu Mar 25 09:23:34 1999
- Orig file:
v2.2.4/linux/include/asm-sparc/mmu_context.h
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.4/linux/include/asm-sparc/mmu_context.h linux/include/asm-sparc/mmu_context.h
@@ -22,9 +22,9 @@
#define destroy_context(mm) BTFIXUP_CALL(destroy_context)(mm)
-/* After we have set current->mm to a new value, this activates
- * the context for the new mm so we see the new mappings.
+/* This need not do anything on Sparc32. The switch happens
+ * properly later as a side effect of calling flush_thread.
*/
-#define activate_context(tsk) switch_to_context(tsk)
+#define activate_context(tsk) do { } while(0)
#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)