i386: Use patchable lock prefix in set_64bit
authorAndi Kleen <ak@suse.de>
Sun, 22 Jul 2007 09:12:40 +0000 (11:12 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 18:03:38 +0000 (11:03 -0700)
commite05aff854c9f348629bb66c191eee87e4d002900
tree11913da94cce3ac1bc478f1d2916dd573f56fac5
parent57c22f49e4c7d27a03e109a317c30b12f1bae0b2
i386: Use patchable lock prefix in set_64bit

Previously lock was unconditionally used, but shouldn't be needed on
UP systems.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-i386/cmpxchg.h