diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2011-08-23 20:05:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-09-21 04:21:57 -0400 |
commit | f5d1b97bcdd8ac195f48c645bffcb88bcea533e4 (patch) | |
tree | 4c93c43132bbed990fa6ae2c6f4a5422f8f85f19 /arch/ia64 | |
parent | 80990c5ba6de9040d2df7c06e3c222c61004085d (diff) |
iommu: Cleanup ifdefs in detect_intel_iommu()
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: yinghai@kernel.org
Cc: youquan.song@intel.com
Cc: joerg.roedel@amd.com
Cc: tony.luck@intel.com
Cc: dwmw2@infradead.org
Link: http://lkml.kernel.org/r/20110824001456.386003047@sbsiddha-desk.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/iommu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h index 745e095fe82e..95461bb0b8e6 100644 --- a/arch/ia64/include/asm/iommu.h +++ b/arch/ia64/include/asm/iommu.h | |||
@@ -7,12 +7,14 @@ | |||
7 | 7 | ||
8 | extern void pci_iommu_shutdown(void); | 8 | extern void pci_iommu_shutdown(void); |
9 | extern void no_iommu_init(void); | 9 | extern void no_iommu_init(void); |
10 | extern int force_iommu, no_iommu; | ||
11 | extern int iommu_detected; | ||
12 | #ifdef CONFIG_DMAR | 10 | #ifdef CONFIG_DMAR |
11 | extern int force_iommu, no_iommu; | ||
13 | extern int iommu_pass_through; | 12 | extern int iommu_pass_through; |
13 | extern int iommu_detected; | ||
14 | #else | 14 | #else |
15 | #define iommu_pass_through (0) | 15 | #define iommu_pass_through (0) |
16 | #define no_iommu (1) | ||
17 | #define iommu_detected (0) | ||
16 | #endif | 18 | #endif |
17 | extern void iommu_dma_init(void); | 19 | extern void iommu_dma_init(void); |
18 | extern void machvec_init(const char *name); | 20 | extern void machvec_init(const char *name); |