Path: blob/master/arch/h8300/include/asm/mmu_context.h
10834 views
#ifndef __H8300_MMU_CONTEXT_H1#define __H8300_MMU_CONTEXT_H23#include <asm/setup.h>4#include <asm/page.h>5#include <asm/pgalloc.h>6#include <asm-generic/mm_hooks.h>78static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)9{10}1112static inline int13init_new_context(struct task_struct *tsk, struct mm_struct *mm)14{15// mm->context = virt_to_phys(mm->pgd);16return(0);17}1819#define destroy_context(mm) do { } while(0)20#define deactivate_mm(tsk,mm) do { } while(0)2122static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk)23{24}2526static inline void activate_mm(struct mm_struct *prev_mm,27struct mm_struct *next_mm)28{29}3031#endif323334