aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/dma-mapping.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-25 17:36:36 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-19 13:19:56 -0400
commit7c18341665917b493fa40eeb3c7ff6c1a5ac47db (patch)
treef027237e256fe89ca03b83f8eb32978560b092da /include/asm-x86/dma-mapping.h
parentb48ee7135230ac43b6820d59a784ac0bd51ae552 (diff)
x86: provide a bad_dma_address symbol for i386
It's initially 0, since we don't expect any DMA there. 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/dma-mapping.h')
-rw-r--r--include/asm-x86/dma-mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/dma-mapping.h b/include/asm-x86/dma-mapping.h
index c671a0aea59b..984935d86bbd 100644
--- a/include/asm-x86/dma-mapping.h
+++ b/include/asm-x86/dma-mapping.h
@@ -10,6 +10,8 @@
10#include <asm/io.h> 10#include <asm/io.h>
11#include <asm/swiotlb.h> 11#include <asm/swiotlb.h>
12 12
13extern dma_addr_t bad_dma_address;
14
13struct dma_mapping_ops { 15struct dma_mapping_ops {
14 int (*mapping_error)(dma_addr_t dma_addr); 16 int (*mapping_error)(dma_addr_t dma_addr);
15 void* (*alloc_coherent)(struct device *dev, size_t size, 17 void* (*alloc_coherent)(struct device *dev, size_t size,