blob: 29ec8e28c8df375f1aa13e12b9edf2fa89752831 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASMS390_SCATTERLIST_H
2#define _ASMS390_SCATTERLIST_H
3
4struct scatterlist {
Jens Axboed6ec0842007-10-22 20:01:06 +02005#ifdef CONFIG_DEBUG_SG
6 unsigned long sg_magic;
7#endif
Jens Axboe18dabf42007-10-22 19:57:20 +02008 unsigned long page_link;
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 unsigned int offset;
10 unsigned int length;
11};
12
13#ifdef __s390x__
14#define ISA_DMA_THRESHOLD (0xffffffffffffffffUL)
15#else
16#define ISA_DMA_THRESHOLD (0xffffffffUL)
17#endif
18
19#endif /* _ASMS390X_SCATTERLIST_H */