diff options
| author | FUJITA Tomonori <[email protected]> | 2010-06-08 11:03:15 +0000 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2010-06-09 14:20:54 +0000 |
| commit | fcdcddbcbbd39a3363bd48414bfe44553b6d698a (patch) | |
| tree | a8c524da03f0dd2ae829ce8a04120c285301dc72 /fs/proc/array.c | |
| parent | microblaze: Define ARCH_SLAB_MINALIGN to fix slab crash (diff) | |
| download | kernel-fcdcddbcbbd39a3363bd48414bfe44553b6d698a.tar.gz kernel-fcdcddbcbbd39a3363bd48414bfe44553b6d698a.zip | |
microblaze: Fix sg_dma_len() regression
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 <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
