diff options
| author | Will Deacon <[email protected]> | 2017-10-24 10:22:47 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-12-17 12:57:01 +0000 |
| commit | c2bc66082e1048c7573d72e62f597bdc5ce13fea (patch) | |
| tree | 6f2e6ad4fb90064a5b862a7591584ed5aa7884cf /drivers/acpi/cppc_acpi.c | |
| parent | bpf: fix build issues on um due to mising bpf_perf_event.h (diff) | |
| download | kernel-c2bc66082e1048c7573d72e62f597bdc5ce13fea.tar.gz kernel-c2bc66082e1048c7573d72e62f597bdc5ce13fea.zip | |
locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
[ Note, this is a Git cherry-pick of the following commit:
76ebbe78f739 ("locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()")
... for easier x86 PTI code testing and back-porting. ]
In preparation for the removal of lockless_dereference(), which is the
same as READ_ONCE() on all architectures other than Alpha, add an
implicit smp_read_barrier_depends() to READ_ONCE() so that it can be
used to head dependency chains on all architectures.
Signed-off-by: Will Deacon <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
