]> git.baikalelectronics.ru Git - kernel.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)
commit9a6d95cecbb7ea3d373480824b4d661176529a76
treeca3258932cf3ea50783a309f66e897f75fdae557
parente5239c91d72e8ed597b4f407bf7b684558d1f33a
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