commit | 36fdca1389944a8d9bead4235add8cc5fe801cc6 | [log] [tgz] |
---|---|---|
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | Mon Mar 30 22:44:43 2020 +0300 |
committer | Alexey Brodkin <abrodkin@synopsys.com> | Tue Mar 31 18:25:16 2020 +0300 |
tree | d9ff13574d147cf24f029bdff6bf01cad04fbec7 | |
parent | c1977b6c5ca808793a3582b4a4c1f40548bb3cbc [diff] |
ARC: IO: add volatile to accessors We must use 'volatile' in C-version read/write IO accessors implementation to avoid merging several reads (writes) into one read (write), or optimizing them out by compiler. Fixes commit 07906b3dad15 ("ARC: Switch to generic accessors") Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>