diff options
author | Chris Wright <chrisw@sous-sol.org> | 2006-09-26 08:32:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 17:48:55 +0200 |
commit | 027a8c7e6067a1bcdef6775d1b1c08729dfbae51 (patch) | |
tree | 8c791bb8820d6c0734aded634a045369dd3347cc /include/asm-i386/processor.h | |
parent | [PATCH] x86: remove locally-defined ldt structure in favour of standard type (diff) | |
download | linux-027a8c7e6067a1bcdef6775d1b1c08729dfbae51.tar.xz linux-027a8c7e6067a1bcdef6775d1b1c08729dfbae51.zip |
[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 <ian.pratt@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions