]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/include/asm/percpu.h
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)
commitd7c3f8cee81f4548de0513403b74131aee655576
tree3512188d9be3e429284d094d4bc1fdc2299b92db
parent76597cd31470fa130784c78fadb4dab2e624a723
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