]> git.baikalelectronics.ru Git - kernel.git/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)
commit73f547048a27fea537363ecde16b628cfc5d5584
tree55d2d25350eb15b6822d91b38a7cddd9c697b58f
parent7144a38768e4bd27504a5e7378dec0c5db52bc45
[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