diff options
author | Gerard Snitselaar <dev@snitselaar.org> | 2012-03-16 14:38:22 -0400 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2012-03-22 14:28:14 -0400 |
commit | ae295142d2d3989e49c6425c90d2593732a068a1 (patch) | |
tree | 55062211fd06e8c6124eeaa6b05b3b3b88523ab9 /drivers/iommu | |
parent | 3d9761e7a55b429ccee305a53669577b9cc20dac (diff) |
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/iommu')
-rw-r--r-- | drivers/iommu/amd_iommu_init.c | 4 |
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 */ | |||
196 | */ | 196 | */ |
197 | extern void iommu_flush_all_caches(struct amd_iommu *iommu); | 197 | extern void iommu_flush_all_caches(struct amd_iommu *iommu); |
198 | 198 | ||
199 | static int __init amd_iommu_enable_interrupts(void); | 199 | static int amd_iommu_enable_interrupts(void); |
200 | 200 | ||
201 | static inline void update_last_devid(u16 devid) | 201 | static inline void update_last_devid(u16 devid) |
202 | { | 202 | { |
@@ -1598,7 +1598,7 @@ free: | |||
1598 | return ret; | 1598 | return ret; |
1599 | } | 1599 | } |
1600 | 1600 | ||
1601 | static int __init amd_iommu_enable_interrupts(void) | 1601 | static int amd_iommu_enable_interrupts(void) |
1602 | { | 1602 | { |
1603 | struct amd_iommu *iommu; | 1603 | struct amd_iommu *iommu; |
1604 | int ret = 0; | 1604 | int ret = 0; |