From: Catalin Marinas Date: Thu, 10 Jun 2010 16:02:12 +0000 (+0100) Subject: sata_sil24: Use memory barriers before issuing commands X-Git-Tag: v2.6.35-rc3~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1082345290dbc66c19877662cb24c18ee4ae1296;p=pandora-kernel.git sata_sil24: Use memory barriers before issuing commands The data in the cmd_block buffers may reach the main memory after the writel() to the device ports. This patch introduces two calls to wmb() to ensure the relative ordering. Signed-off-by: Catalin Marinas Tested-by: Colin Tuckley Cc: Tejun Heo Cc: Jeff Garzik Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed