Commit | Line | Data |
---|---|---|
3d2d827f MT |
1 | #ifndef _LINUX_MMU_CONTEXT_H |
2 | #define _LINUX_MMU_CONTEXT_H | |
3 | ||
f98db601 AL |
4 | #include <asm/mmu_context.h> |
5 | ||
3d2d827f MT |
6 | struct mm_struct; |
7 | ||
8 | void use_mm(struct mm_struct *mm); | |
9 | void unuse_mm(struct mm_struct *mm); | |
10 | ||
f98db601 AL |
11 | /* Architectures that care about IRQ state in switch_mm can override this. */ |
12 | #ifndef switch_mm_irqs_off | |
13 | # define switch_mm_irqs_off switch_mm | |
14 | #endif | |
15 | ||
3d2d827f | 16 | #endif |