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>
Wed, 8 Apr 2009 21:25:49 +0000 (14:25 -0700)
commitbc6081ff98eec627919e0c68415e46a78fe51dc4
treec9003ee3aa800c5437b9d2e71ad998991bc0b95e
parent9a5a2cac9f99c98d9d15cec17b1904f29d0e8009
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