[S390] use generic scatterlist.h
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
f64d04c042
commit
5dd1d2ece0
@ -1,19 +1 @@
|
||||
#ifndef _ASMS390_SCATTERLIST_H
|
||||
#define _ASMS390_SCATTERLIST_H
|
||||
|
||||
struct scatterlist {
|
||||
#ifdef CONFIG_DEBUG_SG
|
||||
unsigned long sg_magic;
|
||||
#endif
|
||||
unsigned long page_link;
|
||||
unsigned int offset;
|
||||
unsigned int length;
|
||||
};
|
||||
|
||||
#ifdef __s390x__
|
||||
#define ISA_DMA_THRESHOLD (0xffffffffffffffffUL)
|
||||
#else
|
||||
#define ISA_DMA_THRESHOLD (0xffffffffUL)
|
||||
#endif
|
||||
|
||||
#endif /* _ASMS390X_SCATTERLIST_H */
|
||||
#include <asm-generic/scatterlist.h>
|
||||
|
Loading…
Reference in New Issue
Block a user