Re: [PATCH 2/7] mm: cma: Export cma_alloc and cma_release
From: T.J. Mercier
Date: Wed Feb 25 2026 - 14:35:01 EST
On Wed, Feb 25, 2026 at 8:42 AM Maxime Ripard <mripard@xxxxxxxxxx> wrote:
>
> The CMA dma-buf heap uses cma_alloc() and cma_release() to allocate and
> free, respectively, its CMA buffers.
>
> However, these functions are not exported. Since we want to turn the CMA
> heap into a module, let's export them both.
>
> Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
Reviewed-by: T.J. Mercier <tjmercier@xxxxxxxxxx>