nommu_context.h 563 B

123456789101112131415161718192021222324252627282930
  1. static inline void init_mmu(void)
  2. {
  3. }
  4. static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
  5. {
  6. }
  7. static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm)
  8. {
  9. return 0;
  10. }
  11. static inline void destroy_context(struct mm_struct *mm)
  12. {
  13. }
  14. static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
  15. {
  16. }
  17. static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
  18. struct task_struct *tsk)
  19. {
  20. }
  21. static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm)
  22. {
  23. }