xref: /linux/include/asm-generic/nommu_context.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
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 
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