linux/include/asm-ppc
Gunnar Larisch 85fdbe1b4b Add cmpxchg_local to ppc
Add a local processor version of cmpxchg for ppc.

Implements __cmpxchg_u32_local and uses it for 32 bits cmpxchg_local.
It uses the non NMI safe cmpxchg_local_generic for 1, 2 and 8 bytes
cmpxchg_local.

Signed-off-by: Gunnar Larisch <gl@denx.de>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
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
..
8xx_immap.h [POWERPC] include/asm-ppc/: Spelling fixes 2007-12-20 16:17:49 +11:00
amigayle.h
amipcmcia.h
bootinfo.h [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
bootx.h
btext.h
cpm1.h [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
cpm2.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
delay.h
device.h Driver core: add dev_archdata to struct device 2006-12-01 14:52:01 -08:00
floppy.h cleanup floppy.h 2007-10-17 08:42:55 -07:00
fs_pd.h POWERPC: Get rid of remapping the whole immr 2006-09-21 22:37:58 +04:00
gg2.h
gt64260_defs.h
gt64260.h [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
harrier.h
hawk_defs.h
hawk.h
highmem.h [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
hydra.h include files: convert "include" subdirectory to UTF-8 2007-05-09 08:58:21 +02:00
ibm4xx.h [POWERPC] Merge common virtex header files 2007-04-30 11:02:04 +10:00
ibm44x.h
ibm403.h
ibm405.h
ibm_ocp_pci.h
ibm_ocp.h
immap_cpm2.h
io.h Remove dma_cache_(wback|inv|wback_inv) functions 2007-10-17 08:42:57 -07:00
irq_regs.h softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
kdebug.h move die notifier handling to common code 2007-05-08 11:15:04 -07:00
kgdb.h
m8260_pci.h
machdep.h [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
md.h
mk48t59.h
mmu_context.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
mmu.h [POWERPC] 4xx: Fix TLB 0 problem with CONFIG_SERIAL_TEXT_DEBUG 2007-12-23 13:31:16 -06:00
mpc8xx.h [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
mpc10x.h
mpc52xx_psc.h [POWERPC] Separate MPC52xx PSC FIFO registers from rest of PSC 2008-01-21 11:01:32 -07:00
mpc52xx.h [PATCH] ppc: Fix io.h for config with CONFIG_PCI not set 2006-11-13 14:49:25 +11:00
mpc8260_pci9.h [POWERPC] remove unused io accessors 2006-09-20 14:06:17 +10:00
mpc8260.h [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
mv64x60_defs.h fix file specification in comments 2006-10-03 23:01:26 +02:00
mv64x60.h [WATCHDOG] mv64x60_wdt: Add arch/powerpc platform support 2007-07-24 21:16:02 +00:00
ocp_ids.h
ocp.h [POWERPC] Prevent direct inclusion of <asm/rwsem.h>. 2007-09-22 14:49:21 +10:00
open_pic.h [POWERPC] PReP fixup after irq changes 2006-10-07 22:11:20 +10:00
page.h [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
pc_serial.h
pci-bridge.h [POWERPC] Fix mmap of PCI resource with hack for X 2006-12-08 17:21:06 +11:00
pci.h PCI: remove pci_dac_dma_... APIs 2007-07-11 16:02:11 -07:00
pgalloc.h add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
pgtable.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
pnp.h
ppc4xx_dma.h
ppc4xx_pic.h
ppc_sys.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
ppcboot.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
prep_nvram.h
prom.h [POWERPC] Remove get_property and device_is_compatible 2007-08-17 11:01:58 +10:00
raven.h
reg_booke.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
residual.h
rio.h
rtc.h fix file specification in comments 2006-10-03 23:01:26 +02:00
serial.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
smp.h [POWERPC] PReP fixup after irq changes 2006-10-07 22:11:20 +10:00
spinlock.h [PATCH] Directed yield: cpu_relax variants for spinlocks and rw-locks 2006-10-01 00:39:21 -07:00
suspend.h
system.h Add cmpxchg_local to ppc 2008-02-07 08:42:32 -08:00
time.h Replace __attribute_pure__ with __pure 2007-10-18 14:37:32 -07:00
todc.h
traps.h
zorro.h