Skip to content

Commit

Permalink
x86: reduce forbid_dac's visibility
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Beulich authored and H. Peter Anvin committed Jul 18, 2008
1 parent 369c992 commit 08e1a13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions arch/x86/kernel/pci-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion include/asm-x86/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 08e1a13

Please sign in to comment.