aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2008-07-24 11:15:45 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-26 11:49:33 -0400
commitb56afe1d41653fb07ab1b5af5ccc12001c4dd5a0 (patch)
tree6a305ff2536b4e67367a203440e349dfc787ccb5 /arch/x86/xen/enlighten.c
parentc3cc99ff5d24e2eeaf7ec2032e720681916990e3 (diff)
x86, xen: Use native_pte_flags instead of native_pte_val for .pte_flags
Using native_pte_val triggers the BUG_ON() in the paravirt_ops version of pte_flags(). Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 06219e60e9c8..e2767c28dac7 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1347,7 +1347,7 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = {
1347 .ptep_modify_prot_commit = __ptep_modify_prot_commit, 1347 .ptep_modify_prot_commit = __ptep_modify_prot_commit,
1348 1348
1349 .pte_val = xen_pte_val, 1349 .pte_val = xen_pte_val,
1350 .pte_flags = native_pte_val, 1350 .pte_flags = native_pte_flags,
1351 .pgd_val = xen_pgd_val, 1351 .pgd_val = xen_pgd_val,
1352 1352
1353 .make_pte = xen_make_pte, 1353 .make_pte = xen_make_pte,