From: Borislav Petkov Date: Mon, 4 Oct 2010 07:31:27 +0000 (+0200) Subject: x86, cpu: Fix X86_FEATURE_NOPL X-Git-Tag: v2.6.37-rc1~208^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=366d4a43b1a7a861c356a0e407c4f03f454d42ea;p=pandora-kernel.git x86, cpu: Fix X86_FEATURE_NOPL ba0593bf553c450a03dbc5f8c1f0ff58b778a0c8 cleared the aforementioned cpuid bit only on 32-bit due to various problems with Virtual PC. This somehow got lost during the 32- + 64-bit merge so restore the feature bit on 64-bit. For that, set it explicitly for non-constant arguments of cpu_has(). Update comment for future reference. Signed-off-by: Borislav Petkov LKML-Reference: <20101004073127.GA20305@liondog.tnic> Cc: Ryan O'Neill Cc: Linus Torvalds Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed