From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 2/2] powerpc/nohash: Split __early_init_mmu() into boot and secondary
Date: Tue, 05 Aug 2014 14:36:50 +1000 [thread overview]
Message-ID: <1407213410.19150.65.camel@pasglop> (raw)
In-Reply-To: <1406948861-11322-2-git-send-email-scottwood@freescale.com>
On Fri, 2014-08-01 at 22:07 -0500, Scott Wood wrote:
>
> -void __init early_init_mmu(void)
> -{
> - __early_init_mmu(1);
> -}
> -
> void early_init_mmu_secondary(void)
> {
> - __early_init_mmu(0);
> + early_init_mmu_allcpus();
> }
Small nit, it took me 30s too long to figure out what you were doing due
to the naming above :)
Call the latter early_init_this_mmu() and keep the global one separate
such that early_init_mmu() does:
early_init_mmu_common();
early_init_this_mmu();
Cheers,
Ben.
next prev parent reply other threads:[~2014-08-05 4:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-02 3:07 [PATCH 1/2] powerpc/64e: Add __ref to early_alloc_pgtable() Scott Wood
2014-08-02 3:07 ` [PATCH 2/2] powerpc/nohash: Split __early_init_mmu() into boot and secondary Scott Wood
2014-08-05 4:36 ` Benjamin Herrenschmidt [this message]
2014-08-06 0:48 ` Scott Wood
2014-08-06 4:58 ` Benjamin Herrenschmidt
2014-08-06 20:09 ` Scott Wood
2014-08-06 20:46 ` Benjamin Herrenschmidt
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=1407213410.19150.65.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@freescale.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).