xen: set up mmu_ops before trying to set any ptes
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 27 Oct 2009 23:54:19 +0000 (16:54 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 27 Oct 2009 23:54:19 +0000 (16:54 -0700)
commit973df35ed9ff7806403e793a2ad7e9bd4c2fd2a9
treecba250b11a7f732906b1142e5a03f81e6fd6f186
parent964fe080d94db82a3268443e9b9ece4c60246414
xen: set up mmu_ops before trying to set any ptes

xen_setup_stackprotector() ends up trying to set page protections,
so we need to have vm_mmu_ops set up before trying to do so.
Failing to do so causes an early boot crash.

[ Impact: Fix early crash under Xen. ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/enlighten.c