summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-02-14 11:07:28 +0100
committerChristoph Hellwig <hch@lst.de>2022-04-18 07:21:09 +0200
commit0d5ffd9a256d8995764f9d4a35a8c3917839d169 (patch)
treefababa663de209e52adb8650822c853f9fde0832 /arch/x86
parenta2daa27c0c6137481226aee5b3136e453c642929 (diff)
downloadlinux-0d5ffd9a256d8995764f9d4a35a8c3917839d169.tar.gz
linux-0d5ffd9a256d8995764f9d4a35a8c3917839d169.tar.bz2
linux-0d5ffd9a256d8995764f9d4a35a8c3917839d169.zip
swiotlb: rename swiotlb_late_init_with_default_size
swiotlb_late_init_with_default_size is an overly verbose name that doesn't even catch what the function is doing, given that the size is not just a default but the actual requested size. Rename it to swiotlb_init_late. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/pci/sta2x11-fixup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/sta2x11-fixup.c b/arch/x86/pci/sta2x11-fixup.c
index 101081ad64b6..e0c039a75b2d 100644
--- a/arch/x86/pci/sta2x11-fixup.c
+++ b/arch/x86/pci/sta2x11-fixup.c
@@ -57,7 +57,7 @@ static void sta2x11_new_instance(struct pci_dev *pdev)
int size = STA2X11_SWIOTLB_SIZE;
/* First instance: register your own swiotlb area */
dev_info(&pdev->dev, "Using SWIOTLB (size %i)\n", size);
- if (swiotlb_late_init_with_default_size(size))
+ if (swiotlb_init_late(size))
dev_emerg(&pdev->dev, "init swiotlb failed\n");
}
list_add(&instance->list, &sta2x11_instance_list);