|
@@ -2096,7 +2096,7 @@ static int __init acpi_sba_ioc_init_acpi(void)
|
|
|
/* This has to run before acpi_scan_init(). */
|
|
|
arch_initcall(acpi_sba_ioc_init_acpi);
|
|
|
|
|
|
-extern const struct dma_map_ops swiotlb_dma_ops;
|
|
|
+extern const struct dma_map_ops ia64_swiotlb_dma_ops;
|
|
|
|
|
|
static int __init
|
|
|
sba_init(void)
|
|
@@ -2111,7 +2111,7 @@ sba_init(void)
|
|
|
* a successful kdump kernel boot is to use the swiotlb.
|
|
|
*/
|
|
|
if (is_kdump_kernel()) {
|
|
|
- dma_ops = &swiotlb_dma_ops;
|
|
|
+ dma_ops = &ia64_swiotlb_dma_ops;
|
|
|
if (swiotlb_late_init_with_default_size(64 * (1<<20)) != 0)
|
|
|
panic("Unable to initialize software I/O TLB:"
|
|
|
" Try machvec=dig boot option");
|
|
@@ -2133,7 +2133,7 @@ sba_init(void)
|
|
|
* If we didn't find something sba_iommu can claim, we
|
|
|
* need to setup the swiotlb and switch to the dig machvec.
|
|
|
*/
|
|
|
- dma_ops = &swiotlb_dma_ops;
|
|
|
+ dma_ops = &ia64_swiotlb_dma_ops;
|
|
|
if (swiotlb_late_init_with_default_size(64 * (1<<20)) != 0)
|
|
|
panic("Unable to find SBA IOMMU or initialize "
|
|
|
"software I/O TLB: Try machvec=dig boot option");
|