x86, numa, bootmem: Only free bootmem on NUMA failure path
commit021428ad1418cf3c386a1a0157140c3ea29b17ef
authorYinghai Lu <yinghai@kernel.org>
Sat, 21 Nov 2009 08:23:37 +0000 (21 00:23 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 Nov 2009 09:00:48 +0000 (23 10:00 +0100)
tree52b77975afb95554ac195909879debe091061361
parent44280733e71ad15377735b42d8538c109c94d7e3
x86, numa, bootmem: Only free bootmem on NUMA failure path

In the NUMA bootmem setup failure path we freed nodedata_phys
incorrectly.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: David Rientjes <rientjes@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <4B07A739.3030104@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/numa_64.c