projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] per task delay accounting taskstats interface: documentation fix
[powerpc.git]
/
arch
/
x86_64
/
kernel
/
pci-swiotlb.c
diff --git
a/arch/x86_64/kernel/pci-swiotlb.c
b/arch/x86_64/kernel/pci-swiotlb.c
index
3569a25
..
ebdb77f
100644
(file)
--- a/
arch/x86_64/kernel/pci-swiotlb.c
+++ b/
arch/x86_64/kernel/pci-swiotlb.c
@@
-31,12
+31,12
@@
struct dma_mapping_ops swiotlb_dma_ops = {
void pci_swiotlb_init(void)
{
/* don't initialize swiotlb if iommu=off (no_iommu=1) */
void pci_swiotlb_init(void)
{
/* don't initialize swiotlb if iommu=off (no_iommu=1) */
- if (!iommu_
aperture
&& !no_iommu &&
+ if (!iommu_
detected
&& !no_iommu &&
(end_pfn > MAX_DMA32_PFN || force_iommu))
swiotlb = 1;
if (swiotlb) {
(end_pfn > MAX_DMA32_PFN || force_iommu))
swiotlb = 1;
if (swiotlb) {
- swiotlb_init();
printk(KERN_INFO "PCI-DMA: Using software bounce buffering for IO (SWIOTLB)\n");
printk(KERN_INFO "PCI-DMA: Using software bounce buffering for IO (SWIOTLB)\n");
+ swiotlb_init();
dma_ops = &swiotlb_dma_ops;
}
}
dma_ops = &swiotlb_dma_ops;
}
}