diff options
Diffstat (limited to 'include/asm-x86/mmu_context_64.h')
-rw-r--r-- | include/asm-x86/mmu_context_64.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86/mmu_context_64.h b/include/asm-x86/mmu_context_64.h index 98bfe43dd806..7e2aa23fccbf 100644 --- a/include/asm-x86/mmu_context_64.h +++ b/include/asm-x86/mmu_context_64.h | |||
@@ -23,11 +23,6 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) | |||
23 | #endif | 23 | #endif |
24 | } | 24 | } |
25 | 25 | ||
26 | static inline void load_cr3(pgd_t *pgd) | ||
27 | { | ||
28 | asm volatile("movq %0,%%cr3" :: "r" (__pa(pgd)) : "memory"); | ||
29 | } | ||
30 | |||
31 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, | 26 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, |
32 | struct task_struct *tsk) | 27 | struct task_struct *tsk) |
33 | { | 28 | { |