mm: page_alloc: introduce alloc_contig_range()
[deliverable/linux.git] / include / linux / gfp.h
index 581e74b7df95e3d063bbbcaece35aafe60fad774..052a5b6cc4d0af5547403269d52a73c089b6b33a 100644 (file)
@@ -391,4 +391,12 @@ static inline bool pm_suspended_storage(void)
 }
 #endif /* CONFIG_PM_SLEEP */
 
+#ifdef CONFIG_CMA
+
+/* The below functions must be run on a range from a single zone. */
+extern int alloc_contig_range(unsigned long start, unsigned long end);
+extern void free_contig_range(unsigned long pfn, unsigned nr_pages);
+
+#endif
+
 #endif /* __LINUX_GFP_H */
This page took 0.045072 seconds and 5 git commands to generate.