From: Chris Wright Date: Tue, 26 Sep 2006 06:32:23 +0000 (-0700) Subject: [PATCH] x86: implement always-locked bit ops, for memory shared with an SMP hypervisor X-Git-Tag: v2.6.19-rc1~1132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027a8c7e6067a1bcdef6775d1b1c08729dfbae51;p=pandora-kernel.git [PATCH] x86: implement always-locked bit ops, for memory shared with an SMP hypervisor Add "always lock'd" implementations of set_bit, clear_bit and change_bit and the corresponding test_and_ functions. Also add "always lock'd" implementation of cmpxchg. These give guaranteed strong synchronisation and are required for non-SMP kernels running on an SMP hypervisor. Signed-off-by: Ian Pratt Signed-off-by: Christian Limpach Signed-off-by: Chris Wright Signed-off-by: Jeremy Fitzhardinge Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed