From: Glauber Costa Date: Tue, 24 Jun 2008 13:21:25 +0000 (-0300) Subject: x86: explicitly use edx in const delay function. X-Git-Tag: v2.6.27-rc1~1106^2~46^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e58818d32c18197602d1869b22cfda99efd05fe;p=pandora-kernel.git x86: explicitly use edx in const delay function. For x86_64, we can't just use %0, as it would generate a mul against rdx, which is not really what we want (note the ">> 32" in x86_64 version). Using a u64 variable with a shift in i386 generates bad code, so the solution is to explicitly use %%edx in inline assembly for both. Signed-off-by: Glauber Costa Signed-off-by: H. Peter Anvin Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed