diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 706a738c0aee..e2ef1c17942f 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -6193,15 +6193,6 @@ static unsigned long __init calc_memmap_size(unsigned long spanned_pages, | |||
6193 | return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT; | 6193 | return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT; |
6194 | } | 6194 | } |
6195 | 6195 | ||
6196 | #ifdef CONFIG_NUMA_BALANCING | ||
6197 | static void pgdat_init_numabalancing(struct pglist_data *pgdat) | ||
6198 | { | ||
6199 | spin_lock_init(&pgdat->numabalancing_migrate_lock); | ||
6200 | } | ||
6201 | #else | ||
6202 | static void pgdat_init_numabalancing(struct pglist_data *pgdat) {} | ||
6203 | #endif | ||
6204 | |||
6205 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE | 6196 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE |
6206 | static void pgdat_init_split_queue(struct pglist_data *pgdat) | 6197 | static void pgdat_init_split_queue(struct pglist_data *pgdat) |
6207 | { | 6198 | { |
@@ -6226,7 +6217,6 @@ static void __meminit pgdat_init_internals(struct pglist_data *pgdat) | |||
6226 | { | 6217 | { |
6227 | pgdat_resize_init(pgdat); | 6218 | pgdat_resize_init(pgdat); |
6228 | 6219 | ||
6229 | pgdat_init_numabalancing(pgdat); | ||
6230 | pgdat_init_split_queue(pgdat); | 6220 | pgdat_init_split_queue(pgdat); |
6231 | pgdat_init_kcompactd(pgdat); | 6221 | pgdat_init_kcompactd(pgdat); |
6232 | 6222 | ||