diff options
author | Laura Abbott <labbott@redhat.com> | 2017-04-18 21:27:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-18 21:41:12 +0300 |
commit | f318dd083c8128c50e48ceb8c3e812e52800fc4f (patch) | |
tree | 29d2a27dbc996aac1413457a89832df22aae7da0 /mm/cma.h | |
parent | df47c0a638b07dab18b202b307506e4b86b02e9a (diff) | |
download | linux-f318dd083c8128c50e48ceb8c3e812e52800fc4f.tar.xz |
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]; |