aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-08 18:06:51 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-16 05:00:21 -0400
commit22911b3f1cf5431058e56b1727e8ef77be5e0ac9 (patch)
tree849885549bfb85acff6731957c7113bc823bd3f4 /arch/x86/xen
parent084a2a4e7656209ea93aac9778defa03213ca31d (diff)
xen64: 64-bit starts using set_pte from very early
It also doesn't need the 32-bit hack version of set_pte for initial pagetable construction, so just make it use the real thing. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/enlighten.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index a991ee7ade9e..392450787aa9 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1194,7 +1194,11 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = {
1194 .kmap_atomic_pte = xen_kmap_atomic_pte, 1194 .kmap_atomic_pte = xen_kmap_atomic_pte,
1195#endif 1195#endif
1196 1196
1197#ifdef CONFIG_X86_64
1198 .set_pte = xen_set_pte,
1199#else
1197 .set_pte = xen_set_pte_init, 1200 .set_pte = xen_set_pte_init,
1201#endif
1198 .set_pte_at = xen_set_pte_at, 1202 .set_pte_at = xen_set_pte_at,
1199 .set_pmd = xen_set_pmd_hyper, 1203 .set_pmd = xen_set_pmd_hyper,
1200 1204