aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_ext.c')
-rw-r--r--mm/page_ext.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mm/page_ext.c b/mm/page_ext.c
index 88ccc044b09a..714ce79256c5 100644
--- a/mm/page_ext.c
+++ b/mm/page_ext.c
@@ -222,10 +222,7 @@ static void *__meminit alloc_page_ext(size_t size, int nid)
222 return addr; 222 return addr;
223 } 223 }
224 224
225 if (node_state(nid, N_HIGH_MEMORY)) 225 addr = vzalloc_node(size, nid);
226 addr = vzalloc_node(size, nid);
227 else
228 addr = vzalloc(size);
229 226
230 return addr; 227 return addr;
231} 228}