Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mmu_context.h File Reference
#include <asm/setup.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm-generic/mm_hooks.h>

Go to the source code of this file.

Macros

#define init_new_context(tsk, mm)   ({ 0; })
 
#define change_mm_context(old, ctx, _pml4)   do {} while(0)
 
#define destroy_context(mm)   do {} while(0)
 
#define switch_mm(prev, next, tsk)
 
#define activate_mm(prev, next)
 
#define deactivate_mm(tsk, mm)
 

Macro Definition Documentation

#define activate_mm (   prev,
  next 
)
Value:
do { \
change_mm_context(&prev->context, &next->context, next->pgd); \
} while(0)

Definition at line 41 of file mmu_context.h.

#define change_mm_context (   old,
  ctx,
  _pml4 
)    do {} while(0)

Definition at line 31 of file mmu_context.h.

#define deactivate_mm (   tsk,
  mm 
)
Value:
do { \
} while(0)

Definition at line 46 of file mmu_context.h.

#define destroy_context (   mm)    do {} while(0)

Definition at line 32 of file mmu_context.h.

#define init_new_context (   tsk,
  mm 
)    ({ 0; })

Definition at line 30 of file mmu_context.h.

#define switch_mm (   prev,
  next,
  tsk 
)
Value:
do { \
if (prev != next) \
change_mm_context(&prev->context, &next->context, next->pgd); \
} while(0)

Definition at line 35 of file mmu_context.h.