projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134d12f
)
x86/amd: iommu_set_device_table() must not be __init
author
Jan Beulich
<JBeulich@suse.com>
Thu, 8 Mar 2012 08:58:13 +0000
(08:58 +0000)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 8 Mar 2012 10:36:06 +0000
(11:36 +0100)
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>
drivers/iommu/amd_iommu_init.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd_iommu_init.c
b/drivers/iommu/amd_iommu_init.c
index bdea288dc185c619e7e944a2959ed215e2a22c10..a35e98ad97258a47e39152361e2b435fa9ba7f07 100644
(file)
--- a/
drivers/iommu/amd_iommu_init.c
+++ b/
drivers/iommu/amd_iommu_init.c
@@
-275,7
+275,7
@@
static void iommu_set_exclusion_range(struct amd_iommu *iommu)
}
/* Programs the physical address of the device table into the IOMMU hardware */
-static void
__init
iommu_set_device_table(struct amd_iommu *iommu)
+static void iommu_set_device_table(struct amd_iommu *iommu)
{
u64 entry;