]> err.no Git - linux-2.6/commit
[PATCH] x86_64: Remove alternative_smp
authorAndi Kleen <ak@suse.de>
Wed, 30 Aug 2006 17:37:13 +0000 (19:37 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Aug 2006 23:05:15 +0000 (16:05 -0700)
commit841be8ddf92578e5b481ed9f9abb85649fc13238
tree55d2d25350eb15b6822d91b38a7cddd9c697b58f
parentceee88223047749ad683d397b19904c3dfb6adeb
[PATCH] x86_64: 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.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/alternative.h
include/asm-x86_64/spinlock.h