git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] x86-64: Avoid unnecessary double bouncing for swiotlb
[pandora-kernel.git]
/
include
/
asm-x86_64
/
pci.h
diff --git
a/include/asm-x86_64/pci.h
b/include/asm-x86_64/pci.h
index
eeb3088
..
5a82a67
100644
(file)
--- 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
*
* address space. The networking and block device layers use
* this boolean for bounce buffer decisions
*
- * On
AMD
64 it mostly equals, but we set it to zero to tell some subsystems
- * that an IOMMU is available.
+ * On
x86-
64 it mostly equals, but we set it to zero to tell some subsystems
+ * that an
hard or soft
IOMMU is available.
*/
*/
-#define PCI_DMA_BUS_IS_PHYS
(no_iommu ? 1 : 0)
+#define PCI_DMA_BUS_IS_PHYS
0
/*
* x86-64 always supports DAC, but sometimes it is useful to force
/*
* x86-64 always supports DAC, but sometimes it is useful to force