[PATCH] lockdep: x86 smp alternatives workaround
authorIngo Molnar <mingo@elte.hu>
Mon, 3 Jul 2006 07:24:57 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 3 Jul 2006 22:27:04 +0000 (15:27 -0700)
commit3047e99ede366298c6233d1870d12a520d4d92f3
tree7e7626f2019c6b0564d7b20b039dc836cc29910d
parent2148270cd2ebe0d05e4289b7c77b1435c45481bf
[PATCH] lockdep: x86 smp alternatives workaround

Disable SMP alternatives fixups (the patching in of NOPs on 1-CPU systems) if
the lock validator is enabled: there is a binutils section handling bug that
causes corrupted instructions when UP instructions are patched in.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/alternative.c