|
@@ -6193,15 +6193,6 @@ static unsigned long __init calc_memmap_size(unsigned long spanned_pages,
|
|
|
return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT;
|
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_NUMA_BALANCING
|
|
|
-static void pgdat_init_numabalancing(struct pglist_data *pgdat)
|
|
|
-{
|
|
|
- spin_lock_init(&pgdat->numabalancing_migrate_lock);
|
|
|
-}
|
|
|
-#else
|
|
|
-static void pgdat_init_numabalancing(struct pglist_data *pgdat) {}
|
|
|
-#endif
|
|
|
-
|
|
|
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
|
|
|
static void pgdat_init_split_queue(struct pglist_data *pgdat)
|
|
|
{
|
|
@@ -6226,7 +6217,6 @@ static void __meminit pgdat_init_internals(struct pglist_data *pgdat)
|
|
|
{
|
|
|
pgdat_resize_init(pgdat);
|
|
|
|
|
|
- pgdat_init_numabalancing(pgdat);
|
|
|
pgdat_init_split_queue(pgdat);
|
|
|
pgdat_init_kcompactd(pgdat);
|
|
|
|