powerpc: Add pgprot_writecombine
authorAnton Blanchard <anton@samba.org>
Mon, 28 Feb 2011 20:00:47 +0000 (20:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Mar 2011 05:50:24 +0000 (16:50 +1100)
commitfe3cc0d99de6a9bf99b6c279a8afb5833888c1f7
tree05e442859ea1d90fff71717bc3493f1997663437
parenta9d8946b4af9e003c645ffb46489fdeb154e7ed9
powerpc: Add pgprot_writecombine

A number of drivers are using pgprot_writecombine() to enable write
combining on userspace mappings. Implement it on powerpc.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgtable.h