summaryrefslogtreecommitdiff
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2012-03-14 21:20:09 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-03-28 15:02:48 +0100
commita5fb407eed819e950e369060a822640582a1e538 (patch)
tree755ae0e1e76a56247f3e329d8a9b35e4fcbfe85d /drivers/dma/ste_dma40.c
parent7dd21308b17e2b657d167adc7e20b41b7c6bbe5c (diff)
[SCSI] ipr: Remove unnecessary memory barriers
The ipr driver added some memory barriers in order to ensure a PowerPC sync instruction was executed prior to sending a command to the adapter to ensure the command block was coherent with respect to the PCI bus's view of memory. However, some time ago, the powerpc architecture writel macros were changed to include the sync since most drivers don't properly handle this. So remove these memory barriers since they are not needed and result in executing twice as many sync instructions, which has a significant performance penalty. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/dma/ste_dma40.c')
0 files changed, 0 insertions, 0 deletions