diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2015-03-03 01:52:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-03 03:30:56 +0100 |
commit | 7d7355f58ba4f9d68d2fb79864bab4ccb618e4e1 (patch) | |
tree | 79a7efdc9a433f1c5f05651adc70c2579760c313 /fs/xfs/xfs_ioctl.c | |
parent | Merge branch 'mlx4' (diff) | |
download | linux-7d7355f58ba4f9d68d2fb79864bab4ccb618e4e1.tar.xz linux-7d7355f58ba4f9d68d2fb79864bab4ccb618e4e1.zip |
sh_eth: Ensure proper ordering of descriptor active bit write/read
When submitting a DMA descriptor, the active bit must be written last.
When reading a completed DMA descriptor, the active bit must be read
first.
Add memory barriers to ensure that this ordering is maintained.
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions