commit | 2c1de929aef31afbff0dad81de9cc26056d3d01b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jul 19 06:02:31 2018 -0700 |
committer | Stafford Horne <shorne@gmail.com> | Sat Jul 21 13:49:48 2018 +0900 |
tree | e33babd08d443e5332f366a74eb605bab4c14ae1 | |
parent | dcc9c91944129c9541cafe3112e69c1bdd328701 [diff] |
openrisc: fix cache maintainance the the sync_single_for_device DMA operation The cache maintaince in the sync_single_for_device operation should be equivalent to the map_page operation to facilitate reusing buffers. Fix the openrisc implementation by moving the cache maintaince performed in map_page into the sync_single method, and calling that from map_page. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Stafford Horne <shorne@gmail.com>