projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7800c0c
)
x86_64: free_bootmem should take phys
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Tue, 18 Mar 2008 19:40:04 +0000
(12:40 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 21 Mar 2008 16:06:15 +0000
(17:06 +0100)
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>
arch/x86/mm/numa_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/numa_64.c
b/arch/x86/mm/numa_64.c
index 8ccfee10f5b52258526a2942a238b135f3d75743..16b82ad34b961ba08fab68c21076f98e79e89c88 100644
(file)
--- 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;
}