x86: mask NX from pte_pfn
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 30 Jan 2008 12:32:57 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:57 +0000 (13:32 +0100)
commitc3bcfb57e1e64b9b2f8b2d90564826637e21c5ea
tree04f6a09f1b4fe9072d7f9539ce7832eeeab07dca
parent4614139c6a74fe02c85f702ba9c0e57f8e38647e
x86: mask NX from pte_pfn

In 32-bit PAE, mask NX from pte_pfn, since it isn't part of the PFN.
This code is due for unification anyway, but this fixes a latent bug.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/pgtable-3level.h