mmu_context.h 339 B

12345678910111213141516
  1. #ifndef _LINUX_MMU_CONTEXT_H
  2. #define _LINUX_MMU_CONTEXT_H
  3. #include <asm/mmu_context.h>
  4. struct mm_struct;
  5. void use_mm(struct mm_struct *mm);
  6. void unuse_mm(struct mm_struct *mm);
  7. /* Architectures that care about IRQ state in switch_mm can override this. */
  8. #ifndef switch_mm_irqs_off
  9. # define switch_mm_irqs_off switch_mm
  10. #endif
  11. #endif