diff options
author | Laura Abbott <labbott@redhat.com> | 2017-04-18 20:27:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-18 20:41:12 +0200 |
commit | f318dd083c8128c50e48ceb8c3e812e52800fc4f (patch) | |
tree | 29d2a27dbc996aac1413457a89832df22aae7da0 /mm/cma.h | |
parent | Merge tag 'iio-fixes-for-4.11e' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-f318dd083c8128c50e48ceb8c3e812e52800fc4f.tar.xz linux-f318dd083c8128c50e48ceb8c3e812e52800fc4f.zip |
cma: Store a name in the cma structure
Frameworks that may want to enumerate CMA heaps (e.g. Ion) will find it
useful to have an explicit name attached to each region. Store the name
in each CMA structure.
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/cma.h')
-rw-r--r-- | mm/cma.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ struct cma { struct hlist_head mem_head; spinlock_t mem_head_lock; #endif + const char *name; }; extern struct cma cma_areas[MAX_CMA_AREAS]; |