diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-03-18 12:40:04 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-03-21 17:06:15 +0100 |
commit | 37bff62e98f675777e1e76173fe320f04062841d (patch) | |
tree | a2430f780b95aca40d9e81d836a00a32216022a9 /arch | |
parent | 7800c0c3b146013e1e8439e91dc1236a55871d21 (diff) | |
download | linux-37bff62e98f675777e1e76173fe320f04062841d.tar.gz linux-37bff62e98f675777e1e76173fe320f04062841d.tar.bz2 linux-37bff62e98f675777e1e76173fe320f04062841d.zip |
x86_64: free_bootmem should take phys
so use nodedata_phys directly.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/numa_64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 8ccfee10f5b5..16b82ad34b96 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<<PAGE_SHIFT, PAGE_SIZE); if (bootmap == NULL) { if (nodedata_phys < start || nodedata_phys >= end) - free_bootmem((unsigned long)node_data[nodeid], - pgdat_size); + free_bootmem(nodedata_phys, pgdat_size); node_data[nodeid] = NULL; return; } |