mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5b0e27ce35
commit
f7f2dde35a
|
@ -1,20 +1,7 @@
|
||||||
#ifndef _ASM_M32R_SCATTERLIST_H
|
#ifndef _ASM_M32R_SCATTERLIST_H
|
||||||
#define _ASM_M32R_SCATTERLIST_H
|
#define _ASM_M32R_SCATTERLIST_H
|
||||||
|
|
||||||
#include <asm/types.h>
|
#include <asm-generic/scatterlist.h>
|
||||||
|
|
||||||
struct scatterlist {
|
|
||||||
#ifdef CONFIG_DEBUG_SG
|
|
||||||
unsigned long sg_magic;
|
|
||||||
#endif
|
|
||||||
char * address; /* Location data is to be transferred to, NULL for
|
|
||||||
* highmem page */
|
|
||||||
unsigned long page_link;
|
|
||||||
unsigned int offset;/* for highmem, page offset */
|
|
||||||
|
|
||||||
dma_addr_t dma_address;
|
|
||||||
unsigned int length;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define ISA_DMA_THRESHOLD (0x1fffffff)
|
#define ISA_DMA_THRESHOLD (0x1fffffff)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue