summaryrefslogtreecommitdiffstats
path: root/mm/cma.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/cma.h')
-rw-r--r--mm/cma.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/mm/cma.h b/mm/cma.h
index 33c0b517733c..20f6e24bc477 100644
--- a/mm/cma.h
+++ b/mm/cma.h
@@ -2,6 +2,10 @@
#ifndef __MM_CMA_H__
#define __MM_CMA_H__
+#include <linux/debugfs.h>
+
+#define CMA_MAX_NAME 64
+
struct cma {
unsigned long base_pfn;
unsigned long count;
@@ -11,8 +15,9 @@ struct cma {
#ifdef CONFIG_CMA_DEBUGFS
struct hlist_head mem_head;
spinlock_t mem_head_lock;
+ struct debugfs_u32_array dfs_bitmap;
#endif
- const char *name;
+ char name[CMA_MAX_NAME];
};
extern struct cma cma_areas[MAX_CMA_AREAS];