linux-kernel-test/include
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
..
acpi include/acpi/: Spelling fixes 2008-02-03 17:07:16 +02:00
asm-alpha Add cmpxchg64 and cmpxchg64_local to alpha 2008-02-07 08:42:30 -08:00
asm-arm Add cmpxchg_local to arm 2008-02-07 08:42:31 -08:00
asm-avr32 Add cmpxchg_local to avr32 2008-02-07 08:42:31 -08:00
asm-blackfin Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg 2008-02-07 08:42:31 -08:00
asm-cris Add cmpxchg_local to cris 2008-02-07 08:42:31 -08:00
asm-frv Add cmpxchg_local to frv 2008-02-07 08:42:32 -08:00
asm-generic Add cmpxchg_local to asm-generic for per cpu atomic operations 2008-02-07 08:42:30 -08:00
asm-h8300 Add cmpxchg_local to h8300 2008-02-07 08:42:32 -08:00
asm-ia64 Add cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64 2008-02-07 08:42:32 -08:00
asm-m32r Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
asm-m68k Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
asm-m68knommu Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
asm-mips Add cmpxchg64 and cmpxchg64_local to mips 2008-02-07 08:42:30 -08:00
asm-parisc Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
asm-powerpc Add cmpxchg64 and cmpxchg64_local to powerpc 2008-02-07 08:42:30 -08:00
asm-ppc add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
asm-s390 Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
asm-sh Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
asm-sparc Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
asm-sparc64 Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
asm-um uml: LDT mutex conversion 2008-02-05 09:44:31 -08:00
asm-v850 Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
asm-x86 Add cmpxchg64 and cmpxchg64_local to x86_64 2008-02-07 08:42:31 -08:00
asm-xtensa Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
crypto
keys
linux Unexport asm/page.h 2008-02-07 08:42:30 -08:00
math-emu
media include/media/: Spelling fixes 2008-02-03 17:19:47 +02:00
mtd
net 9p: add support for sticky bit 2008-02-06 19:25:06 -06:00
pcmcia pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
rdma
rxrpc
scsi include/scsi/: Spelling fixes 2008-02-03 17:47:00 +02:00
sound [ALSA] version 1.0.16rc2 2008-01-31 17:40:18 +01:00
video atmel_lcdfb: backlight control 2008-02-06 10:41:16 -08:00
xen
Kbuild