xen: don't drop NX bit
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 16 Jun 2008 22:01:56 +0000 (15:01 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Jun 2008 12:56:41 +0000 (14:56 +0200)
commitebb9cfe20fe167f29960a5e913193a684fac50bf
treec3253129327b72097f3988e1b396f790a72da375
parent05345b0f006ac226d0d25d48fcb2d792ac44a071
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