]> Git Repo - linux.git/commitdiff
Xen/swiotlb: mark xen_swiotlb_fixup() __init
authorJan Beulich <[email protected]>
Wed, 12 Feb 2025 15:14:38 +0000 (16:14 +0100)
committerJuergen Gross <[email protected]>
Thu, 13 Feb 2025 11:49:01 +0000 (12:49 +0100)
It's sole user (pci_xen_swiotlb_init()) is __init, too.

Signed-off-by: Jan Beulich <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Message-ID: <e1198286-99ec-41c1-b5ad-e04e285836c9@suse.com>
Signed-off-by: Juergen Gross <[email protected]>
drivers/xen/swiotlb-xen.c

index 26c62e0d34e98b77b7452a4ccc843640ab210f8f..1f65795cf5d7a2a9b1c83e4c77f9c245ae6e43a5 100644 (file)
@@ -113,7 +113,7 @@ static struct io_tlb_pool *xen_swiotlb_find_pool(struct device *dev,
 }
 
 #ifdef CONFIG_X86
-int xen_swiotlb_fixup(void *buf, unsigned long nslabs)
+int __init xen_swiotlb_fixup(void *buf, unsigned long nslabs)
 {
        int rc;
        unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT);
This page took 0.043394 seconds and 4 git commands to generate.