From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] amd-iommu: remove a stray __init Date: Fri, 18 Mar 2011 16:47:54 +0000 Message-ID: <4D839ACA02000078000374D8@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part80AC43AA.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part80AC43AA.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This function is being called on the resume path. Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/amd/iommu_init.c +++ b/xen/drivers/passthrough/amd/iommu_init.c @@ -118,7 +118,7 @@ static void register_iommu_cmd_buffer_in writel(entry, iommu->mmio_base+IOMMU_CMD_BUFFER_BASE_HIGH_OFFSET); } =20 -static void __init register_iommu_event_log_in_mmio_space(struct = amd_iommu *iommu) +static void register_iommu_event_log_in_mmio_space(struct amd_iommu = *iommu) { u64 addr_64, addr_lo, addr_hi; u32 power_of2_entries; --=__Part80AC43AA.0__= Content-Type: text/plain; name="amd-iommu-resume.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="amd-iommu-resume.patch" This function is being called on the resume path.=0A=0ASigned-off-by: Jan = Beulich =0A=0A--- a/xen/drivers/passthrough/amd/iommu_= init.c=0A+++ b/xen/drivers/passthrough/amd/iommu_init.c=0A@@ -118,7 +118,7 = @@ static void register_iommu_cmd_buffer_in=0A writel(entry, iommu->mmi= o_base+IOMMU_CMD_BUFFER_BASE_HIGH_OFFSET);=0A }=0A =0A-static void __init = register_iommu_event_log_in_mmio_space(struct amd_iommu *iommu)=0A+static = void register_iommu_event_log_in_mmio_space(struct amd_iommu *iommu)=0A = {=0A u64 addr_64, addr_lo, addr_hi;=0A u32 power_of2_entries;=0A --=__Part80AC43AA.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part80AC43AA.0__=--