Commit f7f2dde35af75a52fe2c9ff0da7500e82e00c736

Authored by FUJITA Tomonori
Committed by Linus Torvalds
1 parent 5b0e27ce35

m32r: use use asm-generic/scatterlist.h

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 14 deletions Side-by-side Diff

arch/m32r/include/asm/scatterlist.h
1 1 #ifndef _ASM_M32R_SCATTERLIST_H
2 2 #define _ASM_M32R_SCATTERLIST_H
3 3  
4   -#include <asm/types.h>
5   -
6   -struct scatterlist {
7   -#ifdef CONFIG_DEBUG_SG
8   - unsigned long sg_magic;
9   -#endif
10   - char * address; /* Location data is to be transferred to, NULL for
11   - * highmem page */
12   - unsigned long page_link;
13   - unsigned int offset;/* for highmem, page offset */
14   -
15   - dma_addr_t dma_address;
16   - unsigned int length;
17   -};
  4 +#include <asm-generic/scatterlist.h>
18 5  
19 6 #define ISA_DMA_THRESHOLD (0x1fffffff)
20 7