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

Next file: linux/include/asm-sparc/pgtable.h
Previous file: linux/include/asm-sparc/current.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.18/linux/include/asm-sparc/mmu_context.h linux/include/asm-sparc/mmu_context.h
@@ -9,6 +9,11 @@
 /* Initialize the context related info for a new mm_struct
  * instance.
  */
-#define init_new_context(mm) ((mm)->context = NO_CONTEXT)
+extern void (*init_new_context)(struct mm_struct *mm);
+
+/* Destroy context related info for an mm_struct that is about
+ * to be put to rest.
+ */
+extern void (*destroy_context)(struct mm_struct *mm);
 
 #endif /* !(__SPARC_MMU_CONTEXT_H) */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov