kernel-fxtec-pro1x/arch/sparc/include/asm/scatterlist.h
FUJITA Tomonori a6d468d053 sparc: use asm-generic/scatterlist.h
sparc's scatterlist structure is identical to the generic one.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-26 04:33:27 -08:00

8 lines
182 B
C

#ifndef _SPARC_SCATTERLIST_H
#define _SPARC_SCATTERLIST_H
#define sg_dma_len(sg) ((sg)->dma_length)
#include <asm-generic/scatterlist.h>
#endif /* !(_SPARC_SCATTERLIST_H) */