| #ifndef __ASM_X86_MMU_CONTEXT_H |
| #define __ASM_X86_MMU_CONTEXT_H |
| #include <asm/tlbflush.h> |
| #include <asm/paravirt.h> |
| #include <asm-generic/mm_hooks.h> |
| static inline void paravirt_activate_mm(struct mm_struct *prev, |
| #endif /* !CONFIG_PARAVIRT */ |
| * Used for LDT copy/destruction. |
| int init_new_context(struct task_struct *tsk, struct mm_struct *mm); |
| void destroy_context(struct mm_struct *mm); |
| # include "mmu_context_32.h" |
| # include "mmu_context_64.h" |
| #define activate_mm(prev, next) \ |
| paravirt_activate_mm((prev), (next)); \ |
| switch_mm((prev), (next), NULL); \ |
| #endif /* __ASM_X86_MMU_CONTEXT_H */ |