summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include/asm/scatterlist.h
diff options
context:
space:
mode:
authorLinus Torvalds2008-08-13 23:26:22 +0200
committerLinus Torvalds2008-08-13 23:26:32 +0200
commit758db3f2118703a1e36374dae5d58bed963e7e0d (patch)
tree12546f52718d903a8cc8fd70abdcd4b2e6826e94 /arch/h8300/include/asm/scatterlist.h
parentLinux 2.6.27-rc3 (diff)
downloadkernel-qcow2-linux-758db3f2118703a1e36374dae5d58bed963e7e0d.tar.gz
kernel-qcow2-linux-758db3f2118703a1e36374dae5d58bed963e7e0d.tar.xz
kernel-qcow2-linux-758db3f2118703a1e36374dae5d58bed963e7e0d.zip
[h8300] move include/asm-h8300 to arch/h8300/include/asm
Done as a script (well, a single "git mv" actually) on request from Yoshinori Sato as a way to avoid a huge diff. Requested-by: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300/include/asm/scatterlist.h')
-rw-r--r--arch/h8300/include/asm/scatterlist.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/scatterlist.h b/arch/h8300/include/asm/scatterlist.h
new file mode 100644
index 000000000000..d3ecdd87ac90
--- /dev/null
+++ b/arch/h8300/include/asm/scatterlist.h
@@ -0,0 +1,18 @@
+#ifndef _H8300_SCATTERLIST_H
+#define _H8300_SCATTERLIST_H
+
+#include <asm/types.h>
+
+struct scatterlist {
+#ifdef CONFIG_DEBUG_SG
+ unsigned long sg_magic;
+#endif
+ unsigned long page_link;
+ unsigned int offset;
+ dma_addr_t dma_address;
+ unsigned int length;
+};
+
+#define ISA_DMA_THRESHOLD (0xffffffff)
+
+#endif /* !(_H8300_SCATTERLIST_H) */