summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/mmu_context.h
blob: d104a758cb0cc1ce094b20edb346047d312c40e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __SPARC_MMU_CONTEXT_H
#define __SPARC_MMU_CONTEXT_H

/* For now I still leave the context handling in the
 * switch_to() macro, I'll do it right soon enough.
 */
#define get_mmu_context(x) do { } while (0)

/* Initialize the context related info for a new mm_struct
 * instance.
 */
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) */