aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/cmpxchg16b_emu.S
Commit message (Collapse)AuthorAge
* x86: Improve cmpxchg16b_emu.SJan Beulich2014-10-08
| | | | | | | | | | | | - don't include unneeded headers - don't open-code PER_CPU_VAR() - drop redundant entry point label - complete unwind annotations - use .L prefix on local label to not clutter the symbol table Signed-off-by: Jan Beulich <jbeulich@suse.com> Link: http://lkml.kernel.org/r/542290BC020000780003807D@mail.emea.novell.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* percpu: Omit segment prefix in the UP case for cmpxchg_doubleChristoph Lameter2011-03-27
| | | | | | | | 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-28
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>