]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/xen/enlighten.c
xen64: 64-bit starts using set_pte from very early
[linux-2.6-omap-h63xx.git] / arch / x86 / xen / enlighten.c
index a991ee7ade9ec9caaefd295cfc6f7ccdb11498de..392450787aa9b9331d919cd8f248289a6407e93d 100644 (file)
@@ -1194,7 +1194,11 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = {
        .kmap_atomic_pte = xen_kmap_atomic_pte,
 #endif
 
+#ifdef CONFIG_X86_64
+       .set_pte = xen_set_pte,
+#else
        .set_pte = xen_set_pte_init,
+#endif
        .set_pte_at = xen_set_pte_at,
        .set_pmd = xen_set_pmd_hyper,