diff options
| author | Vitaly Kuznetsov <[email protected]> | 2016-02-26 15:13:18 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-01 16:57:20 -0800 |
| commit | d452ab7b4c65dfcaee88a0d6866eeeb98a3d1884 (patch) | |
| tree | ea442d4397fab07eee2c31d5a12a49628298fc21 /scripts/gdb/linux | |
| parent | 0f70b66975ce4331e9002b792d5aa6787a110181 (diff) | |
Drivers: hv: vmbus: avoid unneeded compiler optimizations in vmbus_wait_for_unload()
Message header is modified by the hypervisor and we read it in a loop,
we need to prevent compilers from optimizing accesses. There are no such
optimizations at this moment, this is just a future proof.
Suggested-by: Radim Krcmar <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Radim Kr.má<[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions