summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/mmu_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/mmu_context.h')
-rw-r--r--include/asm-sparc/mmu_context.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-sparc/mmu_context.h b/include/asm-sparc/mmu_context.h
index f9074dfae..d104a758c 100644
--- a/include/asm-sparc/mmu_context.h
+++ b/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) */