summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/gxio/dma_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/gxio/dma_queue.h')
-rw-r--r--arch/tile/include/gxio/dma_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/include/gxio/dma_queue.h b/arch/tile/include/gxio/dma_queue.h
index b9e45e37649e..c8fd47edba30 100644
--- a/arch/tile/include/gxio/dma_queue.h
+++ b/arch/tile/include/gxio/dma_queue.h
@@ -121,7 +121,7 @@ static inline int64_t __gxio_dma_queue_reserve(__gxio_dma_queue_t *dma_queue,
* if the result is LESS than "hw_complete_count".
*/
uint64_t complete;
- complete = ACCESS_ONCE(dma_queue->hw_complete_count);
+ complete = READ_ONCE(dma_queue->hw_complete_count);
slot |= (complete & 0xffffffffff000000);
if (slot < complete)
slot += 0x1000000;