2009-09-21 17:03:51 -07:00
|
|
|
#ifndef _LINUX_MMU_CONTEXT_H
|
|
|
|
#define _LINUX_MMU_CONTEXT_H
|
|
|
|
|
2016-04-26 09:39:06 -07:00
|
|
|
#include <asm/mmu_context.h>
|
|
|
|
|
2009-09-21 17:03:51 -07:00
|
|
|
struct mm_struct;
|
|
|
|
|
|
|
|
void use_mm(struct mm_struct *mm);
|
|
|
|
void unuse_mm(struct mm_struct *mm);
|
|
|
|
|
2016-04-26 09:39:06 -07:00
|
|
|
/* 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
|
|
|
|
|
2009-09-21 17:03:51 -07:00
|
|
|
#endif
|