aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/mmu_context_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/mmu_context_64.h')
-rw-r--r--include/asm-x86/mmu_context_64.h5
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 98bfe43dd80..7e2aa23fccb 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)
#endif
}
-static inline void load_cr3(pgd_t *pgd)
-{
- asm volatile("movq %0,%%cr3" :: "r" (__pa(pgd)) : "memory");
-}
-
static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
struct task_struct *tsk)
{