]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cma: Introduce cma_for_each_area
authorLaura Abbott <labbott@redhat.com>
Tue, 18 Apr 2017 18:27:04 +0000 (11:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 18:41:12 +0000 (20:41 +0200)
commite4231bcda72daef497af45e195a33daa0f9357d0
treeb07421594e284d0c33e310d43d857fc67aeb8c88
parentf318dd083c8128c50e48ceb8c3e812e52800fc4f
cma: Introduce cma_for_each_area

Frameworks (e.g. Ion) may want to iterate over each possible CMA area to
allow for enumeration. Introduce a function to allow a callback.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/cma.h
mm/cma.c