Commit | Line | Data |
---|---|---|
1 | #ifndef _LINUX_MMU_CONTEXT_H | |
2 | #define _LINUX_MMU_CONTEXT_H | |
3 | ||
4 | #include <asm/mmu_context.h> | |
5 | ||
6 | struct mm_struct; | |
7 | ||
8 | void use_mm(struct mm_struct *mm); | |
9 | void unuse_mm(struct mm_struct *mm); | |
10 | ||
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 | ||
16 | #endif |