This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] amd-iommu: two more __init annotations

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] amd-iommu: two more __init annotations
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Fri, 13 May 2011 12:01:40 +0100
Delivery-date: Fri, 13 May 2011 04:04:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- 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 *d
     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)

Attachment: amd-iommu-init.patch
Description: Text document

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] amd-iommu: two more __init annotations, Jan Beulich <=