summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/cmpxchg16b_emu.S
Commit message (Collapse)AuthorAgeFilesLines
* percpu: Omit segment prefix in the UP case for cmpxchg_doubleChristoph Lameter2011-03-271-4/+10
| | | | | | | | 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>
* percpu, x86: Add arch-specific this_cpu_cmpxchg_double() supportChristoph Lameter2011-02-281-0/+59
Support this_cpu_cmpxchg_double() using the cmpxchg16b and cmpxchg8b instructions. -tj: s/percpu_cmpxchg16b/percpu_cmpxchg16b_double/ for consistency and other cosmetic changes. Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
OpenPOWER on IntegriCloud