commit | bb29eb93e63aae23cf147e44e6748c90271e31ee | [log] [tgz] |
---|---|---|
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | Mon Mar 30 22:44:44 2020 +0300 |
committer | Alexey Brodkin <abrodkin@synopsys.com> | Tue Mar 31 18:31:53 2020 +0300 |
tree | 102bd31fb9ac4e056ba305edff3e2d73e6e3dee5 | |
parent | 36fdca1389944a8d9bead4235add8cc5fe801cc6 [diff] |
ARC: IO: add compiler barriers to IO accessors We must use compiler barriers in C-version read/write IO accessors before and after operation (read or write) so it won't be reordered 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>