From: "Jan Beulich" <JBeulich@novell.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: [PATCH] amd-iommu: two more __init annotations
Date: Fri, 13 May 2011 12:01:40 +0100 [thread overview]
Message-ID: <4DCD2BB40200007800041416@vpn.id2.novell.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 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 #2: amd-iommu-init.patch --]
[-- Type: text/plain, Size: 749 bytes --]
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 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 #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2011-05-13 11:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DCD2BB40200007800041416@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).