Go to the documentation of this file.
12 #ifndef _ASM_MMU_CONTEXT_H
13 #define _ASM_MMU_CONTEXT_H
15 #include <asm/setup.h>
17 #include <asm/pgalloc.h>
30 #define init_new_context(tsk, mm) ({ 0; })
31 #define change_mm_context(old, ctx, _pml4) do {} while(0)
32 #define destroy_context(mm) do {} while(0)
35 #define switch_mm(prev, next, tsk) \
38 change_mm_context(&prev->context, &next->context, next->pgd); \
41 #define activate_mm(prev, next) \
43 change_mm_context(&prev->context, &next->context, next->pgd); \
46 #define deactivate_mm(tsk, mm) \