diff options
| author | Eugeniy Paltsev <[email protected]> | 2020-03-30 22:44:45 +0300 |
|---|---|---|
| committer | Alexey Brodkin <[email protected]> | 2020-03-31 18:31:53 +0300 |
| commit | 45bd649511155b5b5a40851ca96036636cb95e23 (patch) | |
| tree | 743cf228579716b6fb20e4a60e87cabefd271e8e /lib/linux_string.c | |
| parent | e9a23c98c9dc8eccc696e5ca6ccd94bacdb32c7d (diff) | |
ARC: IO: add MB for __raw_* memory accessors
We add memory barriers for __raw_readX / __raw_writeX accessors same
way as it is done for readX and writeX accessors as lots of U-boot
driver uses __raw_readX / __raw_writeX instead of proper accessor
with barrier.
It will save us from lot's of debugging in the future and it is OK
as U-Boot is not that performance oriented as real run-time
software like OS or user bare-metal app so we may afford being not
super fast as we only being executed once.
Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Alexey Brodkin <[email protected]>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions
