diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-04-08 12:21:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 13:19:58 -0400 |
commit | cac67877d268f21da74d879a355247e4e25b5b5f (patch) | |
tree | bba90fa76cd127f525a0811701cde7c2eb33007d /arch/x86/kernel/pci-dma_32.c | |
parent | d09d815c1b1d437a3ea89ecd92c91179266d1243 (diff) |
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.c | 4 |
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 @@ | |||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <asm/io.h> | 15 | #include <asm/io.h> |
16 | 16 | ||
17 | /* For i386, we make it point to the NULL address */ | ||
18 | dma_addr_t bad_dma_address __read_mostly = 0x0; | ||
19 | EXPORT_SYMBOL(bad_dma_address); | ||
20 | |||
21 | static int dma_alloc_from_coherent_mem(struct device *dev, ssize_t size, | 17 | static int dma_alloc_from_coherent_mem(struct device *dev, ssize_t size, |
22 | dma_addr_t *dma_handle, void **ret) | 18 | dma_addr_t *dma_handle, void **ret) |
23 | { | 19 | { |