aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-06-16 07:30:01 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-25 09:16:00 -0400
commit08b882c627aeeeb3cfd3c4354f0d360d7949549d (patch)
treebf4a25b0bf67c8e5886425ccd9eddc436602fa21 /arch/x86/xen/enlighten.c
parent1ea0704e0da65b2b46f9142ff1391163aac24060 (diff)
paravirt: add hooks for ptep_modify_prot_start/commit
This patch adds paravirt-ops hooks in pv_mmu_ops for ptep_modify_prot_start and ptep_modify_prot_commit. This allows the hypervisor-specific backends to implement these in some more efficient way. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 73fb0c4c150a..0b7553cbc529 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,