From: Yinghai Lu Date: Tue, 18 Mar 2008 19:40:04 +0000 (-0700) Subject: x86_64: free_bootmem should take phys X-Git-Tag: v2.6.25-rc7~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37bff62e98f675777e1e76173fe320f04062841d;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git x86_64: free_bootmem should take phys so use nodedata_phys directly. Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 8ccfee1..16b82ad 100644 --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c @@ -221,8 +221,7 @@ void __init setup_node_bootmem(int nodeid, unsigned long start, bootmap_pages<= end) - free_bootmem((unsigned long)node_data[nodeid], - pgdat_size); + free_bootmem(nodedata_phys, pgdat_size); node_data[nodeid] = NULL; return; }