xen: don't drop NX bit
commita987b16cc6123af2c9414032701bab5f73c54c89
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 16 Jun 2008 22:01:56 +0000 (16 15:01 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Jun 2008 12:55:13 +0000 (20 14:55 +0200)
treed7ec13530d9824b12cc521b907bffdc337435865
parenteb179e443deb0a5c81a62b4c157124a4b7ff1813
xen: don't drop NX bit

Because NX is now enforced properly, we must put the hypercall page
into the .text segment so that it is executable.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
Cc: the arch/x86 maintainers <x86@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/mmu.c
arch/x86/xen/xen-head.S