diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2012-03-15 02:20:09 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-28 14:02:48 (GMT) |
commit | a5fb407eed819e950e369060a822640582a1e538 (patch) | |
tree | 755ae0e1e76a56247f3e329d8a9b35e4fcbfe85d /drivers/dca | |
parent | 7dd21308b17e2b657d167adc7e20b41b7c6bbe5c (diff) | |
download | linux-fsl-qoriq-a5fb407eed819e950e369060a822640582a1e538.tar.xz |
[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/dca')
0 files changed, 0 insertions, 0 deletions