diff options
author | Scott Wood <scottwood@freescale.com> | 2014-08-08 18:44:01 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-13 15:13:25 +1000 |
commit | 5d61a2172a0142c635ab6d7c3b1589af85a3603e (patch) | |
tree | 586e945fe3bd477a0575f9492adad84966517e49 /security | |
parent | 58d08e3b2c2033354b91467da33deffa06360c28 (diff) | |
download | linux-5d61a2172a0142c635ab6d7c3b1589af85a3603e.tar.bz2 |
powerpc/nohash: Split __early_init_mmu() into boot and secondary
__early_init_mmu() does some things that are really only needed by the
boot cpu. On FSL booke, This includes calling
memblock_enforce_memory_limit(), which is labelled __init. Secondary
cpu init code can't be __init as that would break CPU hotplug.
While it's probably a bug that memblock_enforce_memory_limit() isn't
__init_memblock instead, there's no reason why we should be doing this
stuff for secondary cpus in the first place.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions