linux/include/asm-ia64
Mathieu Desnoyers 4b78fff6e7 Add cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64
Add the primitives cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64. They
use cmpxchg_acq as underlying macro, just like the already existing ia64
cmpxchg().

Changelog:

ia64 cmpxchg_local coding style fix
Quoting Keith Owens:

As a matter of coding style, I prefer

#define cmpxchg_local   cmpxchg
#define cmpxchg64_local cmpxchg64

Which makes it absolutely clear that they are the same code.  With your
patch, humans have to do a string compare of two defines to see if they
are the same.

Note cmpxchg is *not* a performance win vs interrupt disable / enable on IA64.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Christoph Lameter <clameter@sgi.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Keith Owens <kaos@ocs.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:32 -08:00
..
sn [IA64] Update Altix BTE error return status patch 2008-01-03 13:18:58 -08:00
Kbuild
a.out.h
acpi-ext.h
acpi.h x86: voluntary leave_mm before entering ACPI C3 2008-01-30 13:32:01 +01:00
agp.h x86: remove flush_agp_mappings() 2008-01-30 13:34:07 +01:00
asmmacro.h
atomic.h
auxvec.h
bitops.h [IA64] Slim-down __clear_bit_unlock 2008-02-04 15:19:16 -08:00
break.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h asm-*/compat.h: fix typo in comment 2008-02-03 16:32:51 +02:00
cpu.h
cputime.h
current.h
cyclone.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmi.h
elf.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
emergency-restart.h
errno.h
esi.h
fb.h
fcntl.h
fpswa.h
fpu.h
futex.h
gcc_intrin.h [IA64] fix userspace compile error in gcc_intrin.h 2008-02-04 15:08:25 -08:00
hardirq.h
hpsim.h
hw_irq.h [IA64] Two trivial spelling fixes 2007-12-18 17:02:21 -08:00
ia32.h
ia64regs.h
ide.h
intel_intrin.h
intrinsics.h Add cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64 2008-02-07 08:42:32 -08:00
io.h
ioctl.h
ioctls.h
iosapic.h
ipcbuf.h
irq.h
irq_regs.h
kdebug.h
kexec.h
kmap_types.h
kprobes.h
kregs.h
libata-portmap.h
linkage.h
local.h
machvec.h
machvec_dig.h
machvec_hpsim.h
machvec_hpzx1.h
machvec_hpzx1_swiotlb.h
machvec_init.h
machvec_sn2.h
mc146818rtc.h
mca.h [IA64] mca style cleanup 2008-02-04 15:42:06 -08:00
mca_asm.h [IA64] mca style cleanup 2008-02-04 15:42:06 -08:00
meminit.h
mman.h
mmu.h
mmu_context.h
mmzone.h
module.h
msgbuf.h
mutex.h
namei.h
nodedata.h
numa.h
page.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
pal.h
param.h
parport.h
patch.h
pci.h
percpu.h ia64: on UP percpu variables are not small memory model 2008-01-30 23:27:58 +01:00
perfmon.h
perfmon_default_smpl.h
pgalloc.h add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
pgtable.h
poll.h
posix_types.h
processor.h Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2008-02-05 10:24:52 -08:00
ptrace.h
ptrace_offsets.h
resource.h
rse.h
rwsem.h
sal.h [IA64] Export three symbols for module use 2008-02-04 15:46:23 -08:00
scatterlist.h
sections.h
segment.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h [NET]: Introducing socket mark socket option. 2008-01-31 19:27:19 -08:00
sockios.h
sparsemem.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
suspend.h
system.h
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h [IA64] make flush_tlb_kernel_range() an inline function 2007-12-19 12:30:30 -08:00
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
uncached.h
unistd.h
unwind.h
user.h Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
ustack.h
vga.h
xor.h