diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/paravirt.c | 3 | ||||
-rw-r--r-- | arch/x86/xen/enlighten.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index c98d5468818..f1ab0f72700 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c | |||
@@ -380,6 +380,9 @@ struct pv_mmu_ops pv_mmu_ops = { | |||
380 | .pte_update = paravirt_nop, | 380 | .pte_update = paravirt_nop, |
381 | .pte_update_defer = paravirt_nop, | 381 | .pte_update_defer = paravirt_nop, |
382 | 382 | ||
383 | .ptep_modify_prot_start = __ptep_modify_prot_start, | ||
384 | .ptep_modify_prot_commit = __ptep_modify_prot_commit, | ||
385 | |||
383 | #ifdef CONFIG_HIGHPTE | 386 | #ifdef CONFIG_HIGHPTE |
384 | .kmap_atomic_pte = kmap_atomic, | 387 | .kmap_atomic_pte = kmap_atomic, |
385 | #endif | 388 | #endif |
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 73fb0c4c150..0b7553cbc52 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1138,6 +1138,9 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = { | |||
1138 | .set_pte_at = xen_set_pte_at, | 1138 | .set_pte_at = xen_set_pte_at, |
1139 | .set_pmd = xen_set_pmd_hyper, | 1139 | .set_pmd = xen_set_pmd_hyper, |
1140 | 1140 | ||
1141 | .ptep_modify_prot_start = __ptep_modify_prot_start, | ||
1142 | .ptep_modify_prot_commit = __ptep_modify_prot_commit, | ||
1143 | |||
1141 | .pte_val = xen_pte_val, | 1144 | .pte_val = xen_pte_val, |
1142 | .pte_flags = native_pte_val, | 1145 | .pte_flags = native_pte_val, |
1143 | .pgd_val = xen_pgd_val, | 1146 | .pgd_val = xen_pgd_val, |