summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-dma_32.c
diff options
context:
space:
mode:
authorGlauber Costa2008-04-08 18:21:00 +0200
committerIngo Molnar2008-04-19 19:19:58 +0200
commitcac67877d268f21da74d879a355247e4e25b5b5f (patch)
treebba90fa76cd127f525a0811701cde7c2eb33007d /arch/x86/kernel/pci-dma_32.c
parentx86: isolate coherent mapping functions (diff)
downloadkernel-qcow2-linux-cac67877d268f21da74d879a355247e4e25b5b5f.tar.gz
kernel-qcow2-linux-cac67877d268f21da74d879a355247e4e25b5b5f.tar.xz
kernel-qcow2-linux-cac67877d268f21da74d879a355247e4e25b5b5f.zip
x86: move bad_dma_address
It goes to pci-dma.c, and is removed from the arch-specific files. 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 'arch/x86/kernel/pci-dma_32.c')
-rw-r--r--arch/x86/kernel/pci-dma_32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/pci-dma_32.c b/arch/x86/kernel/pci-dma_32.c
index 78c7640252a4..9199bccb9214 100644
--- a/arch/x86/kernel/pci-dma_32.c
+++ b/arch/x86/kernel/pci-dma_32.c
@@ -14,10 +14,6 @@
#include <linux/module.h>
#include <asm/io.h>
-/* For i386, we make it point to the NULL address */
-dma_addr_t bad_dma_address __read_mostly = 0x0;
-EXPORT_SYMBOL(bad_dma_address);
-
static int dma_alloc_from_coherent_mem(struct device *dev, ssize_t size,
dma_addr_t *dma_handle, void **ret)
{