mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
ia64: clean up swiotlb support
Move the few remaining bits of swiotlb glue towards their callers, and remove the pointless on ia64 swiotlb variable. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Christian König <[email protected]>
This commit is contained in:
parent
543cea9acc
commit
4fac8076df
6 changed files with 20 additions and 58 deletions
|
|
@ -4808,7 +4808,7 @@ int __init intel_iommu_init(void)
|
|||
up_write(&dmar_global_lock);
|
||||
pr_info("Intel(R) Virtualization Technology for Directed I/O\n");
|
||||
|
||||
#ifdef CONFIG_SWIOTLB
|
||||
#if defined(CONFIG_X86) && defined(CONFIG_SWIOTLB)
|
||||
swiotlb = 0;
|
||||
#endif
|
||||
dma_ops = &intel_dma_ops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue