powerpc/mm:: Cleanup careful_allocation(): bootmem already panics
authorDave Hansen <dave@linux.vnet.ibm.com>
Tue, 9 Dec 2008 08:21:33 +0000 (08:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Jan 2009 05:25:08 +0000 (16:25 +1100)
commit5d21ea2b0e1d9d5d880670dbb9a96efe9b419583
tree10f427695e940778473c3ec350ae8e5e34eb8288
parentc555e520ef794a94dc36a8ded93ece6369ff7ca0
powerpc/mm:: Cleanup careful_allocation(): bootmem already panics

If we fail a bootmem allocation, the bootmem code itself
panics.  No need to redo it here.

Also change the wording of the other panic.  We don't
strictly have to allocate memory on the specified node.
It is just a hint and that node may not even *have* any
memory on it.  In that case we can and do fall back to
other nodes.

Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c