aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-05-16 13:33:10 +0100
committerJan Beulich <jbeulich@novell.com>2011-05-16 13:33:10 +0100
commite91a676bbabdef7484616755a3895c64268df8e4 (patch)
treed802a65b52a6201fed147ea0af8d37903e7ab628
parentdafcd6b26a764a5e6c64a85573df6c00f171eaeb (diff)
downloadxen-e91a676bbabdef7484616755a3895c64268df8e4.tar.gz
xen-e91a676bbabdef7484616755a3895c64268df8e4.tar.bz2
xen-e91a676bbabdef7484616755a3895c64268df8e4.zip
amd-iommu: two more __init annotations
Signed-off-by: Jan Beulich <jbeulich@novell.com>
-rw-r--r--xen/drivers/passthrough/amd/iommu_map.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xen/drivers/passthrough/amd/iommu_map.c b/xen/drivers/passthrough/amd/iommu_map.c
index 988e11264f..d80c06c212 100644
--- a/xen/drivers/passthrough/amd/iommu_map.c
+++ b/xen/drivers/passthrough/amd/iommu_map.c
@@ -317,7 +317,8 @@ void amd_iommu_set_root_page_table(
dte[0] = entry;
}
-void amd_iommu_set_intremap_table(u32 *dte, u64 intremap_ptr, u8 int_valid)
+void __init amd_iommu_set_intremap_table(
+ u32 *dte, u64 intremap_ptr, u8 int_valid)
{
u64 addr_hi, addr_lo;
u32 entry;
@@ -354,7 +355,7 @@ void amd_iommu_set_intremap_table(u32 *dte, u64 intremap_ptr, u8 int_valid)
dte[4] = entry;
}
-void amd_iommu_add_dev_table_entry(
+void __init amd_iommu_add_dev_table_entry(
u32 *dte, u8 sys_mgt, u8 dev_ex, u8 lint1_pass, u8 lint0_pass,
u8 nmi_pass, u8 ext_int_pass, u8 init_pass)
{