提交 ae295142 编写于 作者: G Gerard Snitselaar 提交者: Joerg Roedel

iommu/amd: Fix section mismatch

amd_iommu_enable_interrupts() called in amd_iommu_resume().
Signed-off-by: NGerard Snitselaar <dev@snitselaar.org>
Signed-off-by: NJoerg Roedel <joro@8bytes.org>
上级 3d9761e7
...@@ -196,7 +196,7 @@ static u32 rlookup_table_size; /* size if the rlookup table */ ...@@ -196,7 +196,7 @@ static u32 rlookup_table_size; /* size if the rlookup table */
*/ */
extern void iommu_flush_all_caches(struct amd_iommu *iommu); 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) static inline void update_last_devid(u16 devid)
{ {
...@@ -1598,7 +1598,7 @@ int __init amd_iommu_init_hardware(void) ...@@ -1598,7 +1598,7 @@ int __init amd_iommu_init_hardware(void)
return ret; return ret;
} }
static int __init amd_iommu_enable_interrupts(void) static int amd_iommu_enable_interrupts(void)
{ {
struct amd_iommu *iommu; struct amd_iommu *iommu;
int ret = 0; int ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册