[PATCH] i386: add alternative-asm.h to allow LOCK_PREFIX replacement in .S files
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:29 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:29 +0000 (10:52 +0200)
commit07c9819b31eda7954feddc83f2fae035f31c11e1
tree7eb34bdcd74075d0e01da0daa93d5123032bc7bb
parentb06babac45e1546dfb504f1f25eb0495632bfc41
[PATCH] i386: add alternative-asm.h to allow LOCK_PREFIX replacement in .S files

LOCK_PREFIX is replaced by nops on UP systems, so it has to be a special
macro.  Previously this was only possible from C. Allow it for pure
assembly files too. Similar to earlier x86-64 patch.
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-i386/alternative-asm.i [new file with mode: 0644]