UBUNTU: SAUCE: nx-emu: further clarify dmesg reporting
authorKees Cook <kees@ubuntu.com>
Wed, 30 Mar 2011 22:06:32 +0000 (15:06 -0700)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Tue, 5 Apr 2011 16:36:49 +0000 (09:36 -0700)
commit8e491fcd090228c03e863954d97b7d948bd8c4b0
treefb14b0628a03aff0abd4e18b4003cb52589d75c2
parent6c90d0b1d7d26a855d3d251546257ed0a122cd36
UBUNTU: SAUCE: nx-emu: further clarify dmesg reporting

When booting a 32bit non-PAE kernel on a CPU that supports hardware NX,
dmesg did not indicate that NX emulation was being used. This changes
the dmesg reporting to be more clear. Warnings about lacking hardware
NX remain, and the state of NX-emulation is reported when enabled.

BugLink: https://launchpad.net/bugs/745181

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/x86/mm/setup_nx.c