nommu_context.h 641 B

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. static inline void init_mmu(void)
  3. {
  4. }
  5. static inline void init_kio(void)
  6. {
  7. }
  8. static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
  9. {
  10. }
  11. static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm)
  12. {
  13. return 0;
  14. }
  15. static inline void destroy_context(struct mm_struct *mm)
  16. {
  17. }
  18. static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
  19. {
  20. }
  21. static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
  22. struct task_struct *tsk)
  23. {
  24. }
  25. static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm)
  26. {
  27. }