xen: set _PAGE_NX in __supported_pte_mask before pagetable construction
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 27 Mar 2009 18:29:02 +0000 (11:29 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 30 Mar 2009 16:25:36 +0000 (09:25 -0700)
commit707ebbc81c61eb480d8a51ca61e355e240df1d32
treee43090b2e37545985b4de136c2dc382108f92aff
parent1e6fcf840e11ceff8a656a678c6e4b0560a98e08
xen: set _PAGE_NX in __supported_pte_mask before pagetable construction

Some 64-bit machines don't support the NX flag in ptes.
Check for NX before constructing the kernel pagetables.

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