]> git.baikalelectronics.ru Git - kernel.git/commit
[AVR32] Drop GFP_COMP for DMA memory allocations
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 5 Jul 2007 15:08:09 +0000 (17:08 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 25 Jan 2008 07:31:39 +0000 (08:31 +0100)
commit41fc8dfd1d4560525328cf40c5cb8fdbb39df655
tree5eca5f85e16514ee8c0c2122d74693073067c9a9
parent537016687aacd7e98d64c68cb1152a93eb5bb6f7
[AVR32] Drop GFP_COMP for DMA memory allocations

dma_alloc_coherent wants to split pages after allocation in order to
reduce the memory footprint. This does not work well with GFP_COMP
pages, so drop this flag before allocation.

This patch was forward-ported from BSP 2.0

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mm/dma-coherent.c