From: H. Peter Anvin Date: Tue, 19 Aug 2008 00:39:32 +0000 (-0700) Subject: x86: add NOPL as a synthetic CPU feature bit X-Git-Tag: v2.6.27-rc6~23^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6734c35af028f06772c0b2c836c7d579e6d4dad;p=pandora-kernel.git x86: add NOPL as a synthetic CPU feature bit The long noops ("NOPL") are supposed to be detected by family >= 6. Unfortunately, several non-Intel x86 implementations, both hardware and software, don't obey this dictum. Instead, probe for NOPL directly by executing a NOPL instruction and see if we get #UD. Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed