aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/scatterlist.h
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@st.com>2007-11-30 03:52:53 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:59 -0500
commitd02b08f6e8b184ffef349e395210a5e82ff4f4bc (patch)
tree1dbec9fe6d2315a95855ce5a91f92a2a1fbf5a22 /include/asm-sh/scatterlist.h
parentcbaa118ecfd99fc5ed7adbd9c34a30e1c05e3c93 (diff)
sh: Clean up places that make 29-bit physical assumptions.
Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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.