summaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-04-08 18:20:48 +0200
committerIngo Molnar <mingo@elte.hu>2008-04-19 19:19:57 +0200
commitd741bde26dc3444eaeb269051d3f0b623b24de13 (patch)
tree9a0c5610958c938f0b9f6bd5e12df005399dcf5b /include/asm-x86
parentx86: use WARN_ON in mapping functions (diff)
downloadlinux-d741bde26dc3444eaeb269051d3f0b623b24de13.tar.xz
linux-d741bde26dc3444eaeb269051d3f0b623b24de13.zip
x86: use dma_length in i386
This is done to get the code closer to x86_64. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/scatterlist.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86/scatterlist.h b/include/asm-x86/scatterlist.h
index d13c197866d6..c0432061f81a 100644
--- a/include/asm-x86/scatterlist.h
+++ b/include/asm-x86/scatterlist.h
@@ -11,9 +11,7 @@ struct scatterlist {
unsigned int offset;
unsigned int length;
dma_addr_t dma_address;
-#ifdef CONFIG_X86_64
unsigned int dma_length;
-#endif
};
#define ARCH_HAS_SG_CHAIN