From: Karol Swietlicki Date: Tue, 5 Feb 2008 06:30:38 +0000 (-0800) Subject: uml: improve detection of host cmov X-Git-Tag: v2.6.25-rc1~861 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=235a6f06eb5571db600a743cda7c73fd4f74127f;p=pandora-kernel.git uml: improve detection of host cmov This patch introduces a new way of checking for the cmov instruction. I use signal handling instead of reading /proc/cpuinfo. [ jdike - Fiddled the asm to make it obvious that it didn't mess with any in-use registers and made test_for_host_cmov void ] [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Karol Swietlicki Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed