diff options
| author | Peter Zijlstra <[email protected]> | 2015-03-26 17:45:37 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-03-27 09:42:01 +0100 |
| commit | 7bd3e239d6c6d1cad276e8f130b386df4234dcd7 (patch) | |
| tree | 260eb35894afb72ab32e860f37960b2dd6114e12 /tools/perf/util/c++/clang.cpp | |
| parent | e6beaa363d56d7fc2f8cd6f7291e4d93911a428a (diff) | |
locking: Remove atomicy checks from {READ,WRITE}_ONCE
The fact that volatile allows for atomic load/stores is a special case
not a requirement for {READ,WRITE}_ONCE(). Their primary purpose is to
force the compiler to emit load/stores _once_.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Christian Borntraeger <[email protected]>
Acked-by: Will Deacon <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Paul McKenney <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions