]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Rework dma-noncoherent to use generic vmalloc layer
authorIlya Yanok <yanok@emcraft.com>
Thu, 12 Feb 2009 13:20:53 +0000 (13:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Feb 2009 23:48:57 +0000 (10:48 +1100)
commit33f00dcedb0e22cdb156a23632814fc580fcfcf8
treeca3258932cf3ea50783a309f66e897f75fdae557
parent812d904e3975450cbf96aea5c1fec4d0a176ab50
powerpc: Rework dma-noncoherent to use generic vmalloc layer

This patch rewrites consistent dma allocations support to use vmalloc
layer to allocate virtual memory space from vmalloc pool and get rid
of CONFIG_CONSISTENT_{START,SIZE}.

This greatly simplifies the code by effectively removing a custom
allocator we had for virtual space.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/lib/dma-noncoherent.c