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