mm: meminit: finish initialisation of struct pages before basic setup
[deliverable/linux.git] / include / linux / gfp.h
index 6ba7cf23748fe90f354e50c7514c230ee7e14bd7..ad35f300b9a46019b43eee1b49c5c0fb281ada10 100644 (file)
@@ -384,6 +384,14 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp);
 void drain_all_pages(struct zone *zone);
 void drain_local_pages(struct zone *zone);
 
+#ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT
+void page_alloc_init_late(void);
+#else
+static inline void page_alloc_init_late(void)
+{
+}
+#endif
+
 /*
  * gfp_allowed_mask is set to GFP_BOOT_MASK during early boot to restrict what
  * GFP flags are used before interrupts are enabled. Once interrupts are
This page took 0.024862 seconds and 5 git commands to generate.