From: Christoph Lameter Date: Wed, 19 Dec 2007 00:22:46 +0000 (-0800) Subject: IA64: Slim down __clear_bit_unlock X-Git-Tag: v2.6.24-rc6~11^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3ebdb6c423dff420168a3faf25c76e9e5f59258;p=pandora-kernel.git IA64: Slim down __clear_bit_unlock __clear_bit_unlock does not need to perform atomic operations on the variable. Avoid a cmpxchg and simply do a store with release semantics. Add a barrier to be safe that the compiler does not do funky things. Tony: Use intrinsic rather than inline assembler Signed-off-by: Christoph Lameter Acked-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Tony Luck --- Reading git-diff-tree failed