From: Raghavendra D Prabhu <rprabhu@wnohang.net>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
linux-kernel@vger.kernel.org, Ian Campbell <ijc@hellion.org.uk>,
xen-devel@lists.xensource.com, jeremy.fitzhardinge@citrix.com,
virtualization@lists.linux-foundation.org
Subject: Re: [TOME] Re: [Xen-devel] Re: [PATCH] Modpost section mismatch fix (for platform-pci-unplug.c)
Date: Sat, 9 Jul 2011 21:59:07 +0530 [thread overview]
Message-ID: <20110709162907.GA4437@Xye> (raw)
In-Reply-To: <20110708202628.GA25998@dumpdata.com>
* On Fri, Jul 08, 2011 at 04:26:28PM -0400, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
>> >>Also,
>> >>I had sent another change (oneline) for the file
>> >>arch/x86/xen/platform-pci-unplug.c for check_platform_magic, looks like that has not gone into
>> >>the pull request for Linus.
>> >Oh, I didn't see it. Did you CC me on it? Can you bounce it to me please?
>> =========================
>> diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
>> index 25c52f9..ffcf261 100644
>> --- a/arch/x86/xen/platform-pci-unplug.c
>> +++ b/arch/x86/xen/platform-pci-unplug.c
>> @@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(xen_platform_pci_unplug);
>> #ifdef CONFIG_XEN_PVHVM
>> static int xen_emul_unplug;
>> -static int __init check_platform_magic(void)
>> +static int check_platform_magic(void)
>> {
>> short magic;
>> char protocol;
>> --
>
>Yeah, that would cause an issue during suspend/resume by PVonHVM. How
>we didn't trip over this I've no idea..
>
>Anyhow, can you provide me with your Signed-off-by please and I will queue
>it right up.
Sorry for missing the Signed-off thing (was there in original one I had sent).
===========================================================
Removing __init from check_platform_magic since it is called by
xen_unplug_emulated_devices in non-init contexts (It probably gets inlined
because of -finline-functions-called-once, removing __init is more to avoid
mismatch being reported).
Signed-off-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
---
arch/x86/xen/platform-pci-unplug.c | 2 +-
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index fe00830..fb5eeb0 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -327,7 +327,7 @@ int __init pci_xen_hvm_init(void)
}
#ifdef CONFIG_XEN_DOM0
-static int xen_register_pirq(u32 gsi, int triggering)
+static __refdata int xen_register_pirq(u32 gsi, int triggering)
{
int rc, pirq, irq = -1;
struct physdev_map_pirq map_irq;
diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
index 25c52f9..ffcf261 100644
--- a/arch/x86/xen/platform-pci-unplug.c
+++ b/arch/x86/xen/platform-pci-unplug.c
@@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(xen_platform_pci_unplug);
#ifdef CONFIG_XEN_PVHVM
static int xen_emul_unplug;
-static int __init check_platform_magic(void)
+static int check_platform_magic(void)
{
short magic;
char protocol;
--
>
>Stefano, you OK with this patch?
>
--------------------------
Raghavendra Prabhu
GPG Id : 0xD72BE977
Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977
www: wnohang.net
next prev parent reply other threads:[~2011-07-09 16:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 23:25 [PATCH] Modpost section mismatch fix Raghavendra D Prabhu
2011-07-04 8:49 ` Ian Campbell
2011-07-04 22:16 ` Raghavendra D Prabhu
2011-07-05 14:13 ` Konrad Rzeszutek Wilk
2011-07-05 14:27 ` [TOME] " Raghavendra D Prabhu
2011-07-05 14:48 ` Konrad Rzeszutek Wilk
2011-07-05 21:32 ` Konrad Rzeszutek Wilk
2011-07-06 8:30 ` [Xen-devel] " Ian Campbell
2011-07-07 15:46 ` Raghavendra D Prabhu
2011-07-07 16:24 ` [Xen-devel] " Konrad Rzeszutek Wilk
2011-07-07 19:48 ` Raghavendra D Prabhu
2011-07-07 20:09 ` Konrad Rzeszutek Wilk
2011-07-07 21:04 ` Raghavendra D Prabhu
2011-07-08 20:26 ` [Xen-devel] Re: [PATCH] Modpost section mismatch fix (for platform-pci-unplug.c) Konrad Rzeszutek Wilk
2011-07-09 16:29 ` Raghavendra D Prabhu [this message]
2011-07-11 10:47 ` Stefano Stabellini
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=20110709162907.GA4437@Xye \
--to=rprabhu@wnohang.net \
--cc=ijc@hellion.org.uk \
--cc=jeremy.fitzhardinge@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=virtualization@lists.linux-foundation.org \
--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