Skip to content
Commit 2c1de929 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Stafford Horne
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
parent dcc9c919
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment