From: Geoff Levand Date: Thu, 12 Feb 2009 12:36:16 +0000 (+0000) Subject: powerpc/ps3: Move ps3_mm_add_memory to device_initcall X-Git-Tag: v2.6.29-rc6~76^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0047656e2a97d4452dd7df9e52591a7afe21a263;p=pandora-kernel.git powerpc/ps3: Move ps3_mm_add_memory to device_initcall Change the PS3 hotplug memory routine ps3_mm_add_memory() from a core_initcall to a device_initcall. core_initcall routines run before the powerpc topology_init() startup routine, which is a subsys_initcall, resulting in failure of ps3_mm_add_memory() when CONFIG_NUMA=y. When ps3_mm_add_memory() fails the system will boot with just the 128 MiB of boot memory Signed-off-by: Geoff Levand Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed