aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index b4390db64da3..905db9d7962f 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -46,7 +46,6 @@
46#include <linux/stop_machine.h> 46#include <linux/stop_machine.h>
47#include <linux/sort.h> 47#include <linux/sort.h>
48#include <linux/pfn.h> 48#include <linux/pfn.h>
49#include <xen/xen.h>
50#include <linux/backing-dev.h> 49#include <linux/backing-dev.h>
51#include <linux/fault-inject.h> 50#include <linux/fault-inject.h>
52#include <linux/page-isolation.h> 51#include <linux/page-isolation.h>
@@ -317,9 +316,6 @@ static inline bool update_defer_init(pg_data_t *pgdat,
317 /* Always populate low zones for address-constrained allocations */ 316 /* Always populate low zones for address-constrained allocations */
318 if (zone_end < pgdat_end_pfn(pgdat)) 317 if (zone_end < pgdat_end_pfn(pgdat))
319 return true; 318 return true;
320 /* Xen PV domains need page structures early */
321 if (xen_pv_domain())
322 return true;
323 (*nr_initialised)++; 319 (*nr_initialised)++;
324 if ((*nr_initialised > pgdat->static_init_pgcnt) && 320 if ((*nr_initialised > pgdat->static_init_pgcnt) &&
325 (pfn & (PAGES_PER_SECTION - 1)) == 0) { 321 (pfn & (PAGES_PER_SECTION - 1)) == 0) {