diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 07:30:31 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:31 -0500 |
commit | 3e7593966be6f6d29a15138c0c96b961d437f2f5 (patch) | |
tree | f4aa54b5ef0579e02cbdea909796bca0e3206f9c /arch/x86/kernel/pci-dma_64.c | |
parent | ed65260bb814a5c600a4e883f6bda73e287f5dec (diff) |
x86: pci-dma_64.c: cleanups
This patch contains the following cleanups:
- make the needlessly global iommu_setup() static
- remove the unused EXPORT_SYMBOL(iommu_merge)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/pci-dma_64.c')
-rw-r--r-- | arch/x86/kernel/pci-dma_64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/pci-dma_64.c b/arch/x86/kernel/pci-dma_64.c index 5552d23d23c..a82473d192a 100644 --- a/arch/x86/kernel/pci-dma_64.c +++ b/arch/x86/kernel/pci-dma_64.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <asm/calgary.h> | 13 | #include <asm/calgary.h> |
14 | 14 | ||
15 | int iommu_merge __read_mostly = 0; | 15 | int iommu_merge __read_mostly = 0; |
16 | EXPORT_SYMBOL(iommu_merge); | ||
17 | 16 | ||
18 | dma_addr_t bad_dma_address __read_mostly; | 17 | dma_addr_t bad_dma_address __read_mostly; |
19 | EXPORT_SYMBOL(bad_dma_address); | 18 | EXPORT_SYMBOL(bad_dma_address); |
@@ -230,7 +229,7 @@ EXPORT_SYMBOL(dma_set_mask); | |||
230 | * See <Documentation/x86_64/boot-options.txt> for the iommu kernel parameter | 229 | * See <Documentation/x86_64/boot-options.txt> for the iommu kernel parameter |
231 | * documentation. | 230 | * documentation. |
232 | */ | 231 | */ |
233 | __init int iommu_setup(char *p) | 232 | static __init int iommu_setup(char *p) |
234 | { | 233 | { |
235 | iommu_merge = 1; | 234 | iommu_merge = 1; |
236 | 235 | ||