Path: blob/master/arch/cris/include/asm/mmu_context.h
15126 views
#ifndef __CRIS_MMU_CONTEXT_H1#define __CRIS_MMU_CONTEXT_H23#include <asm-generic/mm_hooks.h>45extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);6extern void get_mmu_context(struct mm_struct *mm);7extern void destroy_context(struct mm_struct *mm);8extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,9struct task_struct *tsk);1011#define deactivate_mm(tsk,mm) do { } while (0)1213#define activate_mm(prev,next) switch_mm((prev),(next),NULL)1415/* current active pgd - this is similar to other processors pgd16* registers like cr3 on the i38617*/1819/* defined in arch/cris/mm/fault.c */20DECLARE_PER_CPU(pgd_t *, current_pgd);2122static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)23{24}2526#endif272829