Skip to content

Commit

Permalink
[S390] use generic scatterlist.h
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Sep 11, 2009
1 parent f64d04c commit 5dd1d2e
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions arch/s390/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 5dd1d2e

Please sign in to comment.