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
arch: personality independent stack top
2007-07-19 10:04:45 -07:00
addrspace.h
asm.h
atomic.h
[AVR32] Fix atomic_add_unless() and atomic_sub_unless()
2007-07-18 20:47:04 +02:00
auxvec.h
bitops.h
bug.h
Fix WARN_ON() on bitfield ops for all other archs
2007-08-01 20:45:38 -07:00
bugs.h
byteorder.h
cache.h
[AVR32] Define ARCH_KMALLOC_MINALIGN to L1_CACHE_BYTES
2007-06-14 18:30:50 +02:00
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
fbdev: detect primary display device
2007-07-17 10:23:11 -07:00
fcntl.h
futex.h
gpio.h
hardirq.h
hw_irq.h
intc.h
io.h
[AVR32] Define mmiowb()
2007-08-15 16:36:56 +02:00
ioctl.h
ioctls.h
ipcbuf.h
irq.h
irq_regs.h
irqflags.h
Kbuild
[AVR32] Fix typo in include/asm-avr32/Kbuild
2007-03-07 10:50:27 +01:00
kdebug.h
[AVR32] optimize pagefault path
2007-05-13 17:07:46 +02:00
kmap_types.h
kprobes.h
[AVR32] optimize pagefault path
2007-05-13 17:07:46 +02:00
linkage.h
local.h
mman.h
mmu.h
mmu_context.h
[PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction
2007-05-02 19:27:14 +02:00
module.h
msgbuf.h
mutex.h
namei.h
numnodes.h
ocd.h
page.h
param.h
pci.h
percpu.h
pgalloc.h
[AVR32] Simplify pte_alloc_one{,_kernel}
2007-08-15 16:36:56 +02:00
pgtable-2level.h
pgtable.h
[AVR32] Fix bogus pte_page() definition
2007-08-15 16:36:56 +02:00
poll.h
Consolidate asm/poll.h
2007-05-11 08:29:34 -07:00
posix_types.h
processor.h
[AVR32] Clean up exception handling code
2007-04-27 13:44:13 +02:00
ptrace.h
resource.h
scatterlist.h
PCI: scatterlist.h needs types.h
2007-05-02 19:02:34 -07:00
sections.h
semaphore.h
sembuf.h
setup.h
[AVR32] Fix section mismatch .taglist -> .init.text
2007-05-09 09:26:18 +02:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
socket.h
[NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support
2007-04-25 22:24:21 -07:00
sockios.h
[NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution
2007-04-25 22:24:04 -07:00
stat.h
statfs.h
string.h
sysreg.h
[AVR32] Clean up asm/sysreg.h
2007-04-27 13:44:13 +02:00
system.h
[AVR32] Don't use __builtin_xchg()
2007-10-11 13:32:56 +02:00
termbits.h
lots-of-architectures: enable arbitary speed tty support
2007-07-10 17:51:13 -07:00
termios.h
thread_info.h
remove unused TIF_NOTIFY_RESUME flag
2007-07-31 15:39:38 -07:00
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h
uaccess.h
[AVR32] Fix compile error with gcc 4.1
2007-04-27 14:21:47 +02:00
ucontext.h
unaligned.h
[AVR32] Remove optimization of unaligned word loads
2007-07-18 20:45:51 +02:00
unistd.h
[AVR32] Ignore a few irrelevant syscalls
2007-10-11 13:32:55 +02:00
user.h