diff options
Diffstat (limited to 'include/linux/mmu_context.h')
| -rw-r--r-- | include/linux/mmu_context.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/mmu_context.h b/include/linux/mmu_context.h new file mode 100644 index 000000000000..a4441784503b --- /dev/null +++ b/include/linux/mmu_context.h @@ -0,0 +1,16 @@ +#ifndef _LINUX_MMU_CONTEXT_H +#define _LINUX_MMU_CONTEXT_H + +#include <asm/mmu_context.h> + +struct mm_struct; + +void use_mm(struct mm_struct *mm); +void unuse_mm(struct mm_struct *mm); + +/* Architectures that care about IRQ state in switch_mm can override this. */ +#ifndef switch_mm_irqs_off +# define switch_mm_irqs_off switch_mm +#endif + +#endif |
