Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_GENERIC_NOMMU_H
0003 #define __ASM_GENERIC_NOMMU_H
0004 
0005 /*
0006  * Generic hooks for NOMMU architectures, which do not need to do
0007  * anything special here.
0008  */
0009 #include <asm-generic/mm_hooks.h>
0010 
0011 static inline void switch_mm(struct mm_struct *prev,
0012             struct mm_struct *next,
0013             struct task_struct *tsk)
0014 {
0015 }
0016 
0017 #include <asm-generic/mmu_context.h>
0018 
0019 #endif /* __ASM_GENERIC_NOMMU_H */