acrn-kernel/arch/avr32/include/asm
Peter Zijlstra 62e8a3258b atomic, arch: Audit atomic_{read,set}()
This patch makes sure that atomic_{read,set}() are at least
{READ,WRITE}_ONCE().

We already had the 'requirement' that atomic_read() should use
ACCESS_ONCE(), and most archs had this, but a few were lacking.
All are now converted to use READ_ONCE().

And, by a symmetry and general paranoia argument, upgrade atomic_set()
to use WRITE_ONCE().

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: james.hogan@imgtec.com
Cc: linux-kernel@vger.kernel.org
Cc: oleg@redhat.com
Cc: will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-09-23 09:54:28 +02:00
..
Kbuild mm: clean up per architecture MM hook header files 2015-07-17 16:39:53 -07:00
addrspace.h
asm-offsets.h
asm.h
atomic.h atomic, arch: Audit atomic_{read,set}() 2015-09-23 09:54:28 +02:00
barrier.h
bitops.h
bug.h
bugs.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h arch: Remove __ARCH_HAVE_CMPXCHG 2015-05-13 10:55:42 +02:00
current.h
dma-mapping.h avr32: use for_each_sg() 2015-06-25 17:00:37 -07:00
dma.h
elf.h avr32: fix integer overflow in ELF_ET_DYN_BASE 2015-04-13 18:48:55 +02:00
fb.h
ftrace.h
gpio.h
hardirq.h
hw_irq.h
io.h arch/*/io.h: Add ioremap_uc() to all architectures 2015-07-29 10:02:36 +02:00
irq.h
irqflags.h
kdebug.h
kmap_types.h
kprobes.h
linkage.h
mmu.h
mmu_context.h
module.h
mutex.h
ocd.h
page.h
pci.h
pgalloc.h
pgtable-2level.h
pgtable.h
processor.h
ptrace.h
serial.h
setup.h
shmparam.h
signal.h
string.h
switch_to.h sched, avr32: Remove finish_arch_switch() 2015-08-04 09:38:03 +02:00
syscalls.h
sysreg.h
termios.h
thread_info.h arch: Remove exec_domain from remaining archs 2015-04-12 21:03:30 +02:00
timex.h
tlb.h
tlbflush.h
traps.h
types.h
uaccess.h mm/uaccess, mm/fault: Clarify that uaccess may only sleep if pagefaults are enabled 2015-05-19 08:39:14 +02:00
ucontext.h
unaligned.h
unistd.h
user.h