cxgb4: use pgprot_writecombine() on powerpc
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 14 Mar 2011 10:36:11 +0000 (10:36 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 27 Apr 2011 04:18:25 +0000 (14:18 +1000)
commite297d9dd5cfafbeb2e7585bb444941848e030454
tree72a38df12fb3928b3b8493ef1e783374c0892559
parentefcac6589a277c10060e4be44b9455cf43838dc1
cxgb4: use pgprot_writecombine() on powerpc

Commit fe3cc0d99de6a9bf99b6c279a8afb5833888c1f7 ("powerpc: Add
pgprot_writecombine") in benh's tree exposes the pgprot_writecombine()
API to drivers on powerpc. cxgb4 has an open-coded version of the same,
so use the common API now that it's available.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Steve Wise <swise@opengridcomputing.com>
Cc: Anton Blanchard <anton@samba.org>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/infiniband/hw/cxgb4/t4.h