From: H. Peter Anvin Date: Thu, 29 Jul 2010 00:05:11 +0000 (-0700) Subject: x86, asm: Merge cmpxchg_486_u64() and cmpxchg8b_emu() X-Git-Tag: v2.6.36-rc1~526^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a378d9338e8dde78314b3a6ae003de351936c729;p=pandora-kernel.git x86, asm: Merge cmpxchg_486_u64() and cmpxchg8b_emu() We have two functions for doing exactly the same thing -- emulating cmpxchg8b on 486 and older hardware -- with different calling conventions, and yet doing the same thing. Drop the C version and use the assembly version, via alternatives, for both the local and non-local versions of cmpxchg8b. Signed-off-by: H. Peter Anvin LKML-Reference: --- Reading git-diff-tree failed