]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86, xen: Use native_pte_flags instead of native_pte_val for .pte_flags
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 24 Jul 2008 15:15:45 +0000 (12:15 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 15:49:33 +0000 (17:49 +0200)
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>
arch/x86/xen/enlighten.c

index 06219e60e9c8a961e9374a8ee9cc14ad62fe1784..e2767c28dac78b74b2f7e7a81e93b29b2ce34861 100644 (file)
@@ -1347,7 +1347,7 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = {
        .ptep_modify_prot_commit = __ptep_modify_prot_commit,
 
        .pte_val = xen_pte_val,
-       .pte_flags = native_pte_val,
+       .pte_flags = native_pte_flags,
        .pgd_val = xen_pgd_val,
 
        .make_pte = xen_make_pte,