Skip to content
Snippets Groups Projects
Commit 9740ba42 authored by Laura Abbott's avatar Laura Abbott
Browse files

cma: use pfn instead of pages for argument passing


The CMA code is generic enough that it can be expanded out to track
regions of memory that aren't officially managed by the regular page
allocator. This memory can't be referenced via struct page. Change the
CMA apis to track using pfn for allocation/free instead. The pfn can
be converted to a struct page as needed elsewhere.

Change-Id: I5ac3fa5e2169b2101a738177f1654faa401f7604
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 2d37de8c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment