Revision fcdcddbcbbd39a3363bd48414bfe44553b6d698a authored by FUJITA Tomonori on 08 June 2010, 11:03:15 UTC, committed by Michal Simek on 09 June 2010, 14:20:54 UTC
The commit "asm-generic: add NEED_SG_DMA_LENGTH to define sg_dma_len()"
18e98307de0d746cb0845ebf66535ce2184c25a2 broke microblaze compilation.

dma_direct_map_sg() sets sg->dma_length, however microblaze doesn't
set NEED_SG_DMA_LENGTH so scatterlist strcutres doesn't include
dma_length.

sg->dma_length is always equal to sg->length on microblaze. So we
don't need to set set dma_length, that is, microblaze can simply use
sg->length.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Michal Simek <monstr@monstr.eu>
1 parent ffe57d0
History
File Mode Size
arch-v10
arch-v32
boot
configs
include
kernel
mm
Kconfig -rw-r--r-- 16.4 KB
Kconfig.debug -rw-r--r-- 1.0 KB
Makefile -rw-r--r-- 2.4 KB

back to top