Skip to content

Commit 75ad023

Browse files
jbeulichjgross1
authored andcommitted
Xen/swiotlb: mark xen_swiotlb_fixup() __init
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: <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
1 parent e93ec87 commit 75ad023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/xen/swiotlb-xen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static struct io_tlb_pool *xen_swiotlb_find_pool(struct device *dev,
113113
}
114114

115115
#ifdef CONFIG_X86
116-
int xen_swiotlb_fixup(void *buf, unsigned long nslabs)
116+
int __init xen_swiotlb_fixup(void *buf, unsigned long nslabs)
117117
{
118118
int rc;
119119
unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT);

0 commit comments

Comments
 (0)