···2626 */2727extern pgd_t *pgd_current;28282929-static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)3030-{3131-}3232-3329/*3430 * Initialize the context related info for a new mm_struct instance.3531 *3632 * Set all new contexts to 0, that way the generation will never match3733 * the currently running generation when this context is switched in.3834 */3535+#define init_new_context init_new_context3936static inline int init_new_context(struct task_struct *tsk,4037 struct mm_struct *mm)4138{···4043 return 0;4144}42454343-/*4444- * Destroy context related info for an mm_struct that is about4545- * to be put to rest.4646- */4747-static inline void destroy_context(struct mm_struct *mm)4848-{4949-}5050-5146void switch_mm(struct mm_struct *prev, struct mm_struct *next,5247 struct task_struct *tsk);5353-5454-static inline void deactivate_mm(struct task_struct *tsk,5555- struct mm_struct *mm)5656-{5757-}58485949/*6050 * After we have set current->mm to a new value, this activates6151 * the context for the new mm so we see the new mappings.6252 */5353+#define activate_mm activate_mm6354void activate_mm(struct mm_struct *prev, struct mm_struct *next);5555+5656+#include <asm-generic/mmu_context.h>64576558#endif /* _ASM_NIOS2_MMU_CONTEXT_H */