summaryrefslogtreecommitdiffstats
path: root/usr
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 /usr
parent7dd21308b17e2b657d167adc7e20b41b7c6bbe5c (diff)
downloadop-kernel-dev-a5fb407eed819e950e369060a822640582a1e538.zip
op-kernel-dev-a5fb407eed819e950e369060a822640582a1e538.tar.gz
[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 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud