diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-22 10:42:58 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-25 10:44:02 +0200 |
| commit | 615c8f70be537159540ffec183767edff93b3719 (patch) | |
| tree | bae4c404c14e43292a6be7de9b57640b024e232d /drivers/xen | |
| parent | eec34d7d14c7e19695588f759ad21d39d1396f0f (diff) | |
| download | linux-615c8f70be537159540ffec183767edff93b3719.tar.gz linux-615c8f70be537159540ffec183767edff93b3719.tar.bz2 linux-615c8f70be537159540ffec183767edff93b3719.zip | |
Revert "Xen/swiotlb: mark xen_swiotlb_fixup() __init"
This reverts commit 1a95cff6e15945e8bc7a4e4cec9f9b85f0fb08e7 which is
commit 75ad02318af2e4ae669e26a79f001bd5e1f97472 upstream.
Turns out it causes build warnings and might break systems.
Link: https://lore.kernel.org/r/20250407181218.GA737271@ax162
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: Salvatore Bonaccorso <carnil@debian.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/xen')
| -rw-r--r-- | drivers/xen/swiotlb-xen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index fe52c8cbf136..0893c1012de6 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c @@ -112,7 +112,7 @@ static int is_xen_swiotlb_buffer(struct device *dev, dma_addr_t dma_addr) } #ifdef CONFIG_X86 -int __init xen_swiotlb_fixup(void *buf, unsigned long nslabs) +int xen_swiotlb_fixup(void *buf, unsigned long nslabs) { int rc; unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT); |
