Commit 6b7f000eb6a0b81d7a809833edb7a457eedf8512
Committed by
Joerg Roedel
1 parent
134d12fae0
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
x86/amd: iommu_set_device_table() must not be __init
This function is called from enable_iommus(), which in turn is used from amd_iommu_resume(). Cc: stable@vger.kernel.org Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/iommu/amd_iommu_init.c
... | ... | @@ -275,7 +275,7 @@ |
275 | 275 | } |
276 | 276 | |
277 | 277 | /* Programs the physical address of the device table into the IOMMU hardware */ |
278 | -static void __init iommu_set_device_table(struct amd_iommu *iommu) | |
278 | +static void iommu_set_device_table(struct amd_iommu *iommu) | |
279 | 279 | { |
280 | 280 | u64 entry; |
281 | 281 |