parisc: add mm API for DMA to vmalloc/vmap areas
authorJames Bottomley <James.Bottomley@suse.de>
Mon, 25 Jan 2010 17:42:21 +0000 (11:42 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 5 Feb 2010 18:31:37 +0000 (12:31 -0600)
commitef7cc35b0ee03431731186320b18e5da585341ff
tree4cc97f7abec64134f1d8895644cc38c7e130ee13
parent9df5f74194871ebd0e51ef5ad2eca5084acaaaba
parisc: add mm API for DMA to vmalloc/vmap areas

We already have an API to flush a kernel page along an alias
address, so use it.  The TLB purge prevents the CPU from doing
speculative moveins on the flushed address, so we don't need to
implement and invalidate.

Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
arch/parisc/include/asm/cacheflush.h