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