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

Go to the source code of this file.


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


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 *prev, struct mm_struct *next, struct task_struct *tsk)


volatile pgd_tcurrent_pgd

Macro Definition Documentation

#define activate_mm (   prev,
)    switch_mm((prev), (next), NULL)

Definition at line 31 of file mmu_context.h.

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

Definition at line 29 of file mmu_context.h.

Function Documentation

void destroy_context ( struct mm_struct mm)

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 prev,
struct mm_struct next,
struct task_struct tsk 

Definition at line 151 of file tlb.c.

Variable Documentation

volatile pgd_t* current_pgd

Definition at line 36 of file fault.c.