diff options
| author | K. Y. Srinivasan <kys@microsoft.com> | 2016-04-02 17:59:47 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 14:00:19 -0700 |
| commit | d45faaeedb762a3965a0246cf831e55045dd6ef8 (patch) | |
| tree | d33ec75e96196b925c1ba72933f5e73016c73ddb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | Drivers: hv: vmbus: Introduce functions for estimating room in the ring buffer (diff) | |
| download | linux-d45faaeedb762a3965a0246cf831e55045dd6ef8.tar.gz linux-d45faaeedb762a3965a0246cf831e55045dd6ef8.zip | |
Drivers: hv: vmbus: Use READ_ONCE() to read variables that are volatile
Use the READ_ONCE macro to access variabes that can change asynchronously.
This is the recommended mechanism for dealing with "unsafe" compiler
optimizations.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
