aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/pci.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-10-28 15:28:54 -0700
committerTony Luck <tony.luck@intel.com>2005-10-28 15:28:54 -0700
commitfb5f329d58c67cadc8ff07193ea7556923d49d1b (patch)
treef26147586d353afc5f5979693769379186280736 /include/asm-x86_64/pci.h
parentPull optimize-ptrace-threads into release branch (diff)
parentLinux v2.6.14 (diff)
downloadlinux-dev-fb5f329d58c67cadc8ff07193ea7556923d49d1b.tar.xz
linux-dev-fb5f329d58c67cadc8ff07193ea7556923d49d1b.zip
Auto-update from upstream
Diffstat (limited to 'include/asm-x86_64/pci.h')
-rw-r--r--include/asm-x86_64/pci.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86_64/pci.h b/include/asm-x86_64/pci.h
index 5a82a6762c21..eeb3088a1c9e 100644
--- a/include/asm-x86_64/pci.h
+++ b/include/asm-x86_64/pci.h
@@ -50,10 +50,10 @@ extern int iommu_setup(char *opt);
* address space. The networking and block device layers use
* this boolean for bounce buffer decisions
*
- * On x86-64 it mostly equals, but we set it to zero to tell some subsystems
- * that an hard or soft IOMMU is available.
+ * On AMD64 it mostly equals, but we set it to zero to tell some subsystems
+ * that an IOMMU is available.
*/
-#define PCI_DMA_BUS_IS_PHYS 0
+#define PCI_DMA_BUS_IS_PHYS (no_iommu ? 1 : 0)
/*
* x86-64 always supports DAC, but sometimes it is useful to force