kernel-ark/include/asm-avr32
Haavard Skinnemoen bb7aa6d47f [AVR32] Don't use __builtin_xchg()
The implementation of __builtin_xchg() in at least some versions of
avr32 gcc is buggy. Rather than find out exactly which versions that
have this bug, let's just avoid the problem altogether by implementing
xchg() in inline assembly.

Also, in most architectures, xchg() seems to imply a memory barrier,
while the existing avr32 implementation did not. This patch also fixes
that discrepancy.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-10-11 13:32:56 +02:00
..
arch-at32ap [AVR32] SMC configuration in clock cycles 2007-10-11 13:32:49 +02:00
mach
a.out.h
addrspace.h
asm.h
atomic.h
auxvec.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cachectl.h
cacheflush.h
checksum.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h [AVR32] Make dma_sync_*_for_cpu no-ops 2007-10-11 12:16:57 +02:00
dma.h
elf.h
emergency-restart.h
errno.h
fb.h
fcntl.h
futex.h
gpio.h
hardirq.h
hw_irq.h
intc.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h
irqflags.h
Kbuild
kdebug.h
kmap_types.h
kprobes.h
linkage.h
local.h
mman.h
mmu_context.h
mmu.h
module.h
msgbuf.h
mutex.h
namei.h
numnodes.h
ocd.h
page.h
param.h
pci.h
percpu.h
pgalloc.h
pgtable-2level.h
pgtable.h
poll.h
posix_types.h
processor.h
ptrace.h
resource.h
scatterlist.h
sections.h
semaphore.h
sembuf.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
socket.h
sockios.h
stat.h
statfs.h
string.h
sysreg.h
system.h [AVR32] Don't use __builtin_xchg() 2007-10-11 13:32:56 +02:00
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h [AVR32] Ignore a few irrelevant syscalls 2007-10-11 13:32:55 +02:00
user.h