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