diff options
Diffstat (limited to 'arch/powerpc/sysdev')
| -rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 6938792ccfd9..da7a3d7f54cc 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
| @@ -872,11 +872,8 @@ void __devinit fsl_pci_init(void) | |||
| 872 | * we need SWIOTLB to handle buffers located outside of | 872 | * we need SWIOTLB to handle buffers located outside of |
| 873 | * dma capable memory region | 873 | * dma capable memory region |
| 874 | */ | 874 | */ |
| 875 | if (memblock_end_of_DRAM() - 1 > max) { | 875 | if (memblock_end_of_DRAM() - 1 > max) |
| 876 | ppc_swiotlb_enable = 1; | 876 | ppc_swiotlb_enable = 1; |
| 877 | set_pci_dma_ops(&swiotlb_dma_ops); | ||
| 878 | ppc_md.pci_dma_dev_setup = pci_dma_dev_setup_swiotlb; | ||
| 879 | } | ||
| 880 | #endif | 877 | #endif |
| 881 | } | 878 | } |
| 882 | #endif | 879 | #endif |
