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

Go to the source code of this file.

Macros

#define deactivate_mm(tsk, mm)   do { } while (0)
 
#define activate_mm(active_mm, mm)   switch_mm((active_mm), (mm), NULL)
 

Functions

int init_new_context (struct task_struct *tsk, struct mm_struct *mm)
 
void destroy_context (struct mm_struct *mm)
 
void switch_mm (struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *tsk)
 

Macro Definition Documentation

#define activate_mm (   active_mm,
  mm 
)    switch_mm((active_mm), (mm), NULL)

Definition at line 31 of file mmu_context_32.h.

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

Definition at line 28 of file mmu_context_32.h.

Function Documentation

void destroy_context ( struct mm_struct mm)
inline

Definition at line 242 of file mmu_context.h.

int init_new_context ( struct task_struct tsk,
struct mm_struct mm 
)

Definition at line 143 of file tlb.c.

void switch_mm ( struct mm_struct old_mm,
struct mm_struct mm,
struct task_struct tsk 
)

Definition at line 151 of file tlb.c.