commit | 7e5702282374138507ab3c08dfc1b28dd9ec2bd7 | [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 | 93330d4ce416208fe202e304e5a18166c57ac569 [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>