acrn-kernel/arch/h8300
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
..
boot lib/decompressors: use real out buf size for gunzip with kernel 2015-09-10 13:29:01 -07:00
configs h8300: configs 2015-06-23 13:35:56 +09:00
include atomic, arch: Audit atomic_{read,set}() 2015-09-23 09:54:28 +02:00
kernel h8300: Build scripts 2015-06-23 13:35:54 +09:00
lib h8300: library functions 2015-06-23 13:35:54 +09:00
mm h8300: Memory management 2015-06-23 13:35:53 +09:00
Kconfig h8300: Remove ARCH_WANT_IPC_PARSE_VERSION 2015-06-23 13:35:59 +09:00
Kconfig.cpu h8300: Build scripts 2015-06-23 13:35:54 +09:00
Makefile h8300: Build scripts 2015-06-23 13:35:54 +09:00