diff options
| author | Steven Rostedt (Red Hat) <[email protected]> | 2015-11-17 14:03:11 -0500 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2015-11-24 09:29:15 -0500 |
| commit | 8573636ea794fa088f459429e65e47d7776532cf (patch) | |
| tree | d6d64d4272ae43e061f97c8a3c0c4aa523ed4a0e /drivers/mtd/lpddr | |
| parent | 3cbd6a43be932e56907abd21091314dc044175f2 (diff) | |
ring-buffer: Use READ_ONCE() for most tail_page access
As cpu_buffer->tail_page may be modified by interrupts at almost any time,
the flow of logic is very important. Do not let gcc get smart with
re-reading cpu_buffer->tail_page by adding READ_ONCE() around most of its
accesses.
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr')
0 files changed, 0 insertions, 0 deletions