summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGerard Snitselaar <dev@snitselaar.org>2012-03-16 19:38:22 +0100
committerJoerg Roedel <joro@8bytes.org>2012-03-22 19:28:14 +0100
commitae295142d2d3989e49c6425c90d2593732a068a1 (patch)
tree55062211fd06e8c6124eeaa6b05b3b3b88523ab9 /drivers
parentiommu/amd: Move interrupt setup code into seperate function (diff)
downloadlinux-ae295142d2d3989e49c6425c90d2593732a068a1.tar.xz
linux-ae295142d2d3989e49c6425c90d2593732a068a1.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iommu/amd_iommu_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index 8b026bfe05d1..a051f9a88bd2 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -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;