From: Scott Wood Date: Fri, 8 Aug 2014 23:44:01 +0000 (-0500) Subject: powerpc/nohash: Split __early_init_mmu() into boot and secondary X-Git-Tag: omap-for-v3.17/fixes-against-rc2~65^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d61a2172a0142c635ab6d7c3b1589af85a3603e;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed