diff options
Diffstat (limited to 'mm/page_ext.c')
-rw-r--r-- | mm/page_ext.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/page_ext.c b/mm/page_ext.c index 2d864e64f7fe..44a4c029c8e7 100644 --- a/mm/page_ext.c +++ b/mm/page_ext.c | |||
@@ -390,8 +390,10 @@ void __init page_ext_init(void) | |||
390 | * We know some arch can have a nodes layout such as | 390 | * We know some arch can have a nodes layout such as |
391 | * -------------pfn--------------> | 391 | * -------------pfn--------------> |
392 | * N0 | N1 | N2 | N0 | N1 | N2|.... | 392 | * N0 | N1 | N2 | N0 | N1 | N2|.... |
393 | * | ||
394 | * Take into account DEFERRED_STRUCT_PAGE_INIT. | ||
393 | */ | 395 | */ |
394 | if (pfn_to_nid(pfn) != nid) | 396 | if (early_pfn_to_nid(pfn) != nid) |
395 | continue; | 397 | continue; |
396 | if (init_section_page_ext(pfn, nid)) | 398 | if (init_section_page_ext(pfn, nid)) |
397 | goto oom; | 399 | goto oom; |