From: Shreyas B Prabhu <shreyas@linux.vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc/powernv: pnv_init_idle_states() should only run on powernv
Date: Sun, 14 Jun 2015 21:58:01 +0530 [thread overview]
Message-ID: <557DAB91.7000100@linux.vnet.ibm.com> (raw)
In-Reply-To: <1434103220-8591-1-git-send-email-mpe@ellerman.id.au>
On 06/12/2015 03:30 PM, Michael Ellerman wrote:
> Although this init call checks for device tree properties before doing
> anything, it should still only run on powernv machines.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> ---
> arch/powerpc/platforms/powernv/idle.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/platforms/powernv/idle.c b/arch/powerpc/platforms/powernv/idle.c
> index bd39a120bd60..e8168cf13812 100644
> --- a/arch/powerpc/platforms/powernv/idle.c
> +++ b/arch/powerpc/platforms/powernv/idle.c
> @@ -289,5 +289,4 @@ out_free:
> out:
> return 0;
> }
> -
> -subsys_initcall(pnv_init_idle_states);
> +machine_subsys_initcall(powernv, pnv_init_idle_states);
>
<asm/machdep.h> needs to be included, otherwise I get a build error.
With that,
Reviewed-by: Shreyas B Prabhu <shreyas@linux.vnet.ibm.com>
next prev parent reply other threads:[~2015-06-14 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 10:00 [PATCH] powerpc/powernv: pnv_init_idle_states() should only run on powernv Michael Ellerman
2015-06-14 16:28 ` Shreyas B Prabhu [this message]
2015-06-15 1:49 ` Michael Ellerman
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=557DAB91.7000100@linux.vnet.ibm.com \
--to=shreyas@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mpe@ellerman.id.au \
/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).