summaryrefslogtreecommitdiff
path: root/sound/ppc/pmac.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-04-09 14:25:26 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-09 14:25:26 -0400
commit6fb8c381a6412981c05741d7d077c3f537eb5d14 (patch)
tree111dcad834a71036ab1b7aca9d3f91a20197f8df /sound/ppc/pmac.h
parentf13b1689d753f333459878ac27cb12d414502a09 (diff)
parentc335869fb934ebcccab69315f1cbe7b34f6d9414 (diff)
Merge branch 'dma_rmb_wmb'
Alexander Duyck says: ==================== Replace wmb()/rmb() with dma_wmb()/dma_rmb() where appropriate, round 2 More cleanup of drivers in order to start making use of dma_rmb and dma_wmb calls. This is another pass of what I would consider to be low hanging fruit. There may be other opportunities to make use of the barriers in the Mellanox and Chelsio drivers but I didn't want to risk meddling with code I was not completely familiar with so I am leaving that for future work. I have revisited the Mellanox driver changes. This time around I went only for the sections with a clearly defined pattern. For dma_wmb I used it between accesses of the descriptor bits followed by owner or size. For dma_rmb I used it to replace rmb following a read of the ownership bit in the descriptor. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/ppc/pmac.h')
0 files changed, 0 insertions, 0 deletions