[PATCH] i386: Remove alternative_smp
authorAndi Kleen <ak@suse.de>
Wed, 30 Aug 2006 17:37:14 +0000 (19:37 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Aug 2006 23:05:15 +0000 (16:05 -0700)
commit8c74932779fc6f61b4c30145863a17125c1a296c
tree664c5c1ea4674ec35dbc499294c3830f8176fb43
parent841be8ddf92578e5b481ed9f9abb85649fc13238
[PATCH] i386: Remove alternative_smp

The .fill causes miscompilations with some binutils version.

Instead just patch the lock prefix in the lock constructs. That is the
majority of the cost and should be good enough.

Cc: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/alternative.h
include/asm-i386/rwlock.h
include/asm-i386/spinlock.h