x86, cpu: Only CPU features determine NX capabilities
authorKees Cook <kees.cook@canonical.com>
Wed, 10 Nov 2010 18:35:54 +0000 (10:35 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 10 Nov 2010 23:43:15 +0000 (15:43 -0800)
commit6036f373ea03687d355634fa70fb04baa95ab75e
tree4ac6def9efc7f5dbb1ce4b71f43b4d1ef3e324ad
parentebba638ae723d8a8fc2f7abce5ec18b688b791d7
x86, cpu: Only CPU features determine NX capabilities

Fix the NX feature boot warning when NX is missing to correctly
reflect that BIOSes cannot disable NX now.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
LKML-Reference: <1289414154-7829-5-git-send-email-kees.cook@canonical.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/setup_nx.c