Export the two functions cma_alloc() and cma_release(). Cc: Andrew Morton <a...@linux-foundation.org> Cc: linux...@kvack.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Jens Wiklander <jens.wiklan...@linaro.org> --- mm/cma.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/mm/cma.c b/mm/cma.c index 15632939f20a..c60901e73a26 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -915,6 +915,7 @@ struct page *cma_alloc(struct cma *cma, unsigned long count, { return __cma_alloc(cma, count, align, GFP_KERNEL | (no_warn ? __GFP_NOWARN : 0)); } +EXPORT_SYMBOL(cma_alloc); struct folio *cma_alloc_folio(struct cma *cma, int order, gfp_t gfp) { @@ -1002,6 +1003,7 @@ bool cma_release(struct cma *cma, const struct page *pages, return true; } +EXPORT_SYMBOL(cma_release); bool cma_free_folio(struct cma *cma, const struct folio *folio) { -- 2.43.0