mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-15 19:26:08 +07:00
62e8a3258b
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> |
||
---|---|---|
.. | ||
asm-offsets.h | ||
atomic.h | ||
bitops.h | ||
bug.h | ||
bugs.h | ||
busctl-regs.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
cmpxchg.h | ||
cpu-regs.h | ||
current.h | ||
debugger.h | ||
delay.h | ||
device.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
dmactl-regs.h | ||
elf.h | ||
emergency-restart.h | ||
exceptions.h | ||
fb.h | ||
fpu.h | ||
frame.inc | ||
ftrace.h | ||
futex.h | ||
gdb-stub.h | ||
hardirq.h | ||
highmem.h | ||
hw_irq.h | ||
intctl-regs.h | ||
io.h | ||
irq_regs.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
kdebug.h | ||
kgdb.h | ||
kmap_types.h | ||
kprobes.h | ||
linkage.h | ||
local64.h | ||
local.h | ||
mc146818rtc.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
mutex.h | ||
nmi.h | ||
page_offset.h | ||
page.h | ||
pci.h | ||
percpu.h | ||
pgalloc.h | ||
pgtable.h | ||
pio-regs.h | ||
processor.h | ||
ptrace.h | ||
reset-regs.h | ||
rtc-regs.h | ||
rtc.h | ||
rwlock.h | ||
serial-regs.h | ||
serial.h | ||
setup.h | ||
shmparam.h | ||
signal.h | ||
smp.h | ||
smsc911x.h | ||
spinlock_types.h | ||
spinlock.h | ||
string.h | ||
switch_to.h | ||
syscall.h | ||
termios.h | ||
thread_info.h | ||
timer-regs.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vga.h | ||
xor.h |