summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/gart.h
diff options
context:
space:
mode:
authorIngo Molnar2008-06-27 10:48:16 +0200
committerIngo Molnar2008-06-27 10:52:34 +0200
commit92af4e29020ff096178a00605b3662b3b39d4aa9 (patch)
treed471929f3badeba833d3b2579555a9feff166bb7 /include/asm-x86/gart.h
parentx86, AMD IOMMU: build fix (diff)
downloadkernel-qcow2-linux-92af4e29020ff096178a00605b3662b3b39d4aa9.tar.gz
kernel-qcow2-linux-92af4e29020ff096178a00605b3662b3b39d4aa9.tar.xz
kernel-qcow2-linux-92af4e29020ff096178a00605b3662b3b39d4aa9.zip
x86, AMD IOMMU, build fix #2
fix: arch/x86/kernel/amd_iommu.c: In function ‘amd_iommu_init_dma_ops': arch/x86/kernel/amd_iommu.c:940: error: lvalue required as left operand of assignment arch/x86/kernel/amd_iommu.c:941: error: lvalue required as left operand of assignment due to !CONFIG_GART_IOMMU. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/gart.h')
-rw-r--r--include/asm-x86/gart.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-x86/gart.h b/include/asm-x86/gart.h
index 90958ed993fa..ec5785c6e2fd 100644
--- a/include/asm-x86/gart.h
+++ b/include/asm-x86/gart.h
@@ -18,8 +18,9 @@ extern int gart_iommu_aperture_allowed;
extern int gart_iommu_aperture_disabled;
extern int fix_aperture;
#else
-#define gart_iommu_aperture 0
-#define gart_iommu_aperture_allowed 0
+#define gart_iommu_aperture 0
+#define gart_iommu_aperture_allowed 0
+#define gart_iommu_aperture_disabled 1
static inline void early_gart_iommu_check(void)
{