nommu_context.h 420 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_GENERIC_NOMMU_H
  3. #define __ASM_GENERIC_NOMMU_H
  4. /*
  5. * Generic hooks for NOMMU architectures, which do not need to do
  6. * anything special here.
  7. */
  8. #include <asm-generic/mm_hooks.h>
  9. static inline void switch_mm(struct mm_struct *prev,
  10. struct mm_struct *next,
  11. struct task_struct *tsk)
  12. {
  13. }
  14. #include <asm-generic/mmu_context.h>
  15. #endif /* __ASM_GENERIC_NOMMU_H */