powerpc: Set init_bootmem_done on NUMA platforms as well
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 2 Jun 2009 21:16:38 +0000 (21:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Jun 2009 06:43:04 +0000 (16:43 +1000)
commitd3f6204a7d65030ba92bf43a278b3f3054353e0b
tree48425c339b3162129fe863bf000a5e1b0580937a
parentb46b6942b39e577fe3ef1af928cd927864011247
powerpc: Set init_bootmem_done on NUMA platforms as well

For some obscure reason, we only set init_bootmem_done after initializing
bootmem when NUMA isn't enabled. We even document this next to the declaration
of that global in system.h which of course I didn't read before I had to
debug why some WIP code wasn't working properly...

This patch changes it so that we always set it after bootmem is initialized
which should have always been the case... go figure !

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/system.h
arch/powerpc/mm/numa.c