Dominique Martinet 3e3ccf377c compiler.h: add READ_ONCE/WRITE_ONCE macro
These macros are needed to make sure the compiler does not optimize away
atomic constructs such as "while (!READ_ONCE(foo))" loops that do not
modify foo within the loop

Also move the barrier() define where it belongs while we are here, it is
needed for READ_ONCE/WRITE_ONCE and including ihk/cpu.h here causes
include loops

Change-Id: Ia533a849ed674719ccbc0495be47d22a3c47b8f8
2018-10-11 08:54:13 +00:00
2018-10-11 08:54:13 +00:00
2018-10-01 03:57:16 +00:00
2018-10-04 02:52:18 +00:00
2018-09-04 19:52:11 +09:00
2018-07-26 01:50:48 +00:00
2018-10-04 02:52:18 +00:00
2018-10-04 02:52:18 +00:00
Description
No description provided
GPL-2.0 20 MiB
Languages
C 85.3%
Shell 7.7%
Perl 3.4%
Assembly 1.3%
CMake 1.2%
Other 1%