diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-07-18 14:44:16 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-18 23:39:37 +0200 |
commit | 08e1a13e7d14ba5d6a22bf4b8c6e11128d3bcdfe (patch) | |
tree | bb9de9c4d30b0b9ccba2bf98321e72ce84d021f9 /arch/x86/kernel/pci-dma.c | |
parent | x86: fix two modpost warnings (diff) | |
download | linux-08e1a13e7d14ba5d6a22bf4b8c6e11128d3bcdfe.tar.xz linux-08e1a13e7d14ba5d6a22bf4b8c6e11128d3bcdfe.zip |
x86: reduce forbid_dac's visibility
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>
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
-rw-r--r-- | arch/x86/kernel/pci-dma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 8467ec2320f1..702714bd1511 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c @@ -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); |