aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/scatterlist.h
blob: 29ec8e28c8df375f1aa13e12b9edf2fa89752831 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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 */