original_kernel/arch/microblaze/kernel
FUJITA Tomonori fcdcddbcbb microblaze: Fix sg_dma_len() regression
The commit "asm-generic: add NEED_SG_DMA_LENGTH to define sg_dma_len()"
18e98307de 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>
2010-06-09 16:20:54 +02:00
..
cpu
Makefile
asm-offsets.c
dma.c
early_printk.c
entry-nommu.S
entry.S
exceptions.c
ftrace.c
head.S
heartbeat.c
hw_exception_handler.S
init_task.c
intc.c
irq.c
mcount.S
microblaze_ksyms.c
misc.S
module.c
of_device.c
of_platform.c
process.c
prom.c of: move definition of of_chosen into common code. 2010-02-14 07:13:55 -07:00
prom_parse.c
ptrace.c
reset.c
selfmod.c
setup.c
signal.c
stacktrace.c
sys_microblaze.c
syscall_table.S
timer.c
traps.c
vmlinux.lds.S