Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: use asm-generic/scatterlist.h

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

FUJITA Tomonori and committed by
Linus Torvalds
9da65548 f7f2dde3

+1 -15
+1 -15
arch/m68k/include/asm/scatterlist.h
··· 1 1 #ifndef _M68K_SCATTERLIST_H 2 2 #define _M68K_SCATTERLIST_H 3 3 4 - #include <linux/types.h> 5 - 6 - struct scatterlist { 7 - #ifdef CONFIG_DEBUG_SG 8 - unsigned long sg_magic; 9 - #endif 10 - unsigned long page_link; 11 - unsigned int offset; 12 - unsigned int length; 13 - 14 - dma_addr_t dma_address; /* A place to hang host-specific addresses at. */ 15 - }; 4 + #include <asm-generic/scatterlist.h> 16 5 17 6 /* This is bogus and should go away. */ 18 7 #define ISA_DMA_THRESHOLD (0x00ffffff) 19 - 20 - #define sg_dma_address(sg) ((sg)->dma_address) 21 - #define sg_dma_len(sg) ((sg)->length) 22 8 23 9 #endif /* !(_M68K_SCATTERLIST_H) */