]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit653df0055507b41a79d391097d08da6d47bcab98
tree664c5c1ea4674ec35dbc499294c3830f8176fb43
parent73f547048a27fea537363ecde16b628cfc5d5584
[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