mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 23:15:14 +07:00
![Jens Axboe](/assets/img/avatar_default.png)
Add a Kconfig entry which will toggle some sanity checks on the sg entry and tables. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
20 lines
383 B
C
20 lines
383 B
C
#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 */
|