]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: Omit segment prefix in the UP case for cmpxchg_double
authorChristoph Lameter <cl@linux.com>
Sun, 27 Mar 2011 01:57:18 +0000 (20:57 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Mar 2011 02:25:36 +0000 (19:25 -0700)
commit0c95fab648ce4280f4f9dd998653369b34f96870
tree3512188d9be3e429284d094d4bc1fdc2299b92db
parent48b93aebece3b5bcc984a97a3ba1f827f75b6bd8
percpu: Omit segment prefix in the UP case for cmpxchg_double

Omit the segment prefix in the UP case. GS is not used then
and we will generate segfaults if cmpxchg16b is used otherwise.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/percpu.h
arch/x86/lib/cmpxchg16b_emu.S