Commit 08e1a13e authored by Jan Beulich's avatar Jan Beulich Committed by H. Peter Anvin

x86: reduce forbid_dac's visibility

It's not used anywhere outside its declaring file.
Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 369c9920
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
#include <asm/calgary.h> #include <asm/calgary.h>
#include <asm/amd_iommu.h> #include <asm/amd_iommu.h>
int forbid_dac __read_mostly; static int forbid_dac __read_mostly;
EXPORT_SYMBOL(forbid_dac);
const struct dma_mapping_ops *dma_ops; const struct dma_mapping_ops *dma_ops;
EXPORT_SYMBOL(dma_ops); EXPORT_SYMBOL(dma_ops);
......
...@@ -14,7 +14,6 @@ extern dma_addr_t bad_dma_address; ...@@ -14,7 +14,6 @@ extern dma_addr_t bad_dma_address;
extern int iommu_merge; extern int iommu_merge;
extern struct device fallback_dev; extern struct device fallback_dev;
extern int panic_on_overflow; extern int panic_on_overflow;
extern int forbid_dac;
extern int force_iommu; extern int force_iommu;
struct dma_mapping_ops { struct dma_mapping_ops {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment