aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-11-05 11:25:53 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-14 22:55:15 -0500
commit59170891049cc469777a392e0b3f5aa7aad784a6 (patch)
tree7b04918a1c0ca496ee1b3aaf673abf220cc66716
parent4d74dbd79a571b31f7cd2c69bb5e44368972bf93 (diff)
[PATCH] x86_64: Replace swiotlb extern with include
Minor victory on the continuous quest against all stray extern. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/x86_64/mm/init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c
index 63f192cd7c1c..854a41b8372b 100644
--- a/arch/x86_64/mm/init.c
+++ b/arch/x86_64/mm/init.c
@@ -22,6 +22,7 @@
22#include <linux/pagemap.h> 22#include <linux/pagemap.h>
23#include <linux/bootmem.h> 23#include <linux/bootmem.h>
24#include <linux/proc_fs.h> 24#include <linux/proc_fs.h>
25#include <linux/pci.h>
25 26
26#include <asm/processor.h> 27#include <asm/processor.h>
27#include <asm/system.h> 28#include <asm/system.h>
@@ -42,10 +43,6 @@
42#define Dprintk(x...) 43#define Dprintk(x...)
43#endif 44#endif
44 45
45#ifdef CONFIG_GART_IOMMU
46extern int swiotlb;
47#endif
48
49static unsigned long dma_reserve __initdata; 46static unsigned long dma_reserve __initdata;
50 47
51DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); 48DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);