mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
iommu/amd: Fix section mismatch
amd_iommu_enable_interrupts() called in amd_iommu_resume(). Signed-off-by: Gerard Snitselaar <dev@snitselaar.org> Signed-off-by: Joerg Roedel <joro@8bytes.org>
This commit is contained in:
parent
3d9761e7a5
commit
ae295142d2
@ -196,7 +196,7 @@ static u32 rlookup_table_size; /* size if the rlookup table */
|
||||
*/
|
||||
extern void iommu_flush_all_caches(struct amd_iommu *iommu);
|
||||
|
||||
static int __init amd_iommu_enable_interrupts(void);
|
||||
static int amd_iommu_enable_interrupts(void);
|
||||
|
||||
static inline void update_last_devid(u16 devid)
|
||||
{
|
||||
@ -1598,7 +1598,7 @@ free:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __init amd_iommu_enable_interrupts(void)
|
||||
static int amd_iommu_enable_interrupts(void)
|
||||
{
|
||||
struct amd_iommu *iommu;
|
||||
int ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user