]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Convert from ACCESS_ONCE to READ/WRITE_ONCE
authorTom Rini <trini@konsulko.com>
Thu, 14 May 2020 12:30:04 +0000 (08:30 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 1 Jul 2020 14:11:03 +0000 (10:11 -0400)
commit897860ebc1a86506055f6225efff7888fe27d6ee
tree4684b369d148d098e4edb52375eb676f864e3a12
parentf2ff327e9354cdfb13c9885d5e5c646dff3ca53b
x86: Convert from ACCESS_ONCE to READ/WRITE_ONCE

In order to update our <linux/compiler.h> to a newer version that no
longer provides ACCESS_ONCE() but only READ_ONCE()/WRITE_ONCE() we need
to convert arch/x86/include/asm/atomic.h to the other macros.

Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/atomic.h