All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>,
	linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org
Subject: Re: [PATCH] powerpc/kvm: annotate kvm_rma_init as __init
Date: Thu, 10 Nov 2011 17:11:46 +0000	[thread overview]
Message-ID: <4EBC05D2.1020201@suse.de> (raw)
In-Reply-To: <20111107232956.GA20208@us.ibm.com>

On 11/08/2011 12:29 AM, Nishanth Aravamudan wrote:
> kvm_rma_init() is only called at boot-time, by setup_arch, which is also __init.
>
> Signed-off-by: Nishanth Aravamudan<nacc@us.ibm.com>

Thanks, applied to kvm-ppc-next.


Alex

> diff --git a/arch/powerpc/kvm/book3s_hv_builtin.c b/arch/powerpc/kvm/book3s_hv_builtin.c
> index d431203..73fdcc1 100644
> --- a/arch/powerpc/kvm/book3s_hv_builtin.c
> +++ b/arch/powerpc/kvm/book3s_hv_builtin.c
> @@ -85,7 +85,7 @@ static inline int lpcr_rmls(unsigned long rma_size)
>    * to allocate contiguous physical memory for the real memory
>    * areas for guests.
>    */
> -void kvm_rma_init(void)
> +void __init kvm_rma_init(void)
>   {
>   	unsigned long i;
>   	unsigned long j, npages;
>


WARNING: multiple messages have this Message-ID (diff)
From: Alexander Graf <agraf@suse.de>
To: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>,
	linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org
Subject: Re: [PATCH] powerpc/kvm: annotate kvm_rma_init as __init
Date: Thu, 10 Nov 2011 18:11:46 +0100	[thread overview]
Message-ID: <4EBC05D2.1020201@suse.de> (raw)
In-Reply-To: <20111107232956.GA20208@us.ibm.com>

On 11/08/2011 12:29 AM, Nishanth Aravamudan wrote:
> kvm_rma_init() is only called at boot-time, by setup_arch, which is also __init.
>
> Signed-off-by: Nishanth Aravamudan<nacc@us.ibm.com>

Thanks, applied to kvm-ppc-next.


Alex

> diff --git a/arch/powerpc/kvm/book3s_hv_builtin.c b/arch/powerpc/kvm/book3s_hv_builtin.c
> index d431203..73fdcc1 100644
> --- a/arch/powerpc/kvm/book3s_hv_builtin.c
> +++ b/arch/powerpc/kvm/book3s_hv_builtin.c
> @@ -85,7 +85,7 @@ static inline int lpcr_rmls(unsigned long rma_size)
>    * to allocate contiguous physical memory for the real memory
>    * areas for guests.
>    */
> -void kvm_rma_init(void)
> +void __init kvm_rma_init(void)
>   {
>   	unsigned long i;
>   	unsigned long j, npages;
>

  reply	other threads:[~2011-11-10 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-07 23:29 [PATCH] powerpc/kvm: annotate kvm_rma_init as __init Nishanth Aravamudan
2011-11-07 23:29 ` Nishanth Aravamudan
2011-11-10 17:11 ` Alexander Graf [this message]
2011-11-10 17:11   ` Alexander Graf

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=4EBC05D2.1020201@suse.de \
    --to=agraf@suse.de \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nacc@us.ibm.com \
    --cc=paulus@samba.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.