]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86: reduce forbid_dac's visibility
authorJan Beulich <jbeulich@novell.com>
Fri, 18 Jul 2008 12:44:16 +0000 (13:44 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 18 Jul 2008 21:39:37 +0000 (14:39 -0700)
It's not used anywhere outside its declaring file.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/pci-dma.c
include/asm-x86/dma-mapping.h

index 8467ec2320f178584afb402cfb2b48859a3eb48e..702714bd1511a755dfa84a4f63c1d5d08c1be5da 100644 (file)
@@ -9,8 +9,7 @@
 #include <asm/calgary.h>
 #include <asm/amd_iommu.h>
 
-int forbid_dac __read_mostly;
-EXPORT_SYMBOL(forbid_dac);
+static int forbid_dac __read_mostly;
 
 const struct dma_mapping_ops *dma_ops;
 EXPORT_SYMBOL(dma_ops);
index a1a4dc7fe6ece75087cc33e33d3c60e2477cd586..c2ddd3d1b8831a98fe139639e131f458bfc41d99 100644 (file)
@@ -14,7 +14,6 @@ extern dma_addr_t bad_dma_address;
 extern int iommu_merge;
 extern struct device fallback_dev;
 extern int panic_on_overflow;
-extern int forbid_dac;
 extern int force_iommu;
 
 struct dma_mapping_ops {