aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/scatterlist.h')
-rw-r--r--include/asm-sh/scatterlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sh/scatterlist.h b/include/asm-sh/scatterlist.h
index a7d0d1856a99..35ef9c30f0de 100644
--- a/include/asm-sh/scatterlist.h
+++ b/include/asm-sh/scatterlist.h
@@ -1,6 +1,7 @@
1#ifndef __ASM_SH_SCATTERLIST_H 1#ifndef __ASM_SH_SCATTERLIST_H
2#define __ASM_SH_SCATTERLIST_H 2#define __ASM_SH_SCATTERLIST_H
3 3
4#include <asm/pgtable.h>
4#include <asm/types.h> 5#include <asm/types.h>
5 6
6struct scatterlist { 7struct scatterlist {
@@ -13,7 +14,7 @@ struct scatterlist {
13 unsigned int length; 14 unsigned int length;
14}; 15};
15 16
16#define ISA_DMA_THRESHOLD (0x1fffffff) 17#define ISA_DMA_THRESHOLD PHYS_ADDR_MASK
17 18
18/* These macros should be used after a pci_map_sg call has been done 19/* These macros should be used after a pci_map_sg call has been done
19 * to get bus addresses of each of the SG entries and their lengths. 20 * to get bus addresses of each of the SG entries and their lengths.