s390/mm,ptdump: add proper ifdefs
[linux-2.6-microblaze.git] / mm / cma.h
index 6698fa6..20f6e24 100644 (file)
--- a/mm/cma.h
+++ b/mm/cma.h
@@ -4,6 +4,8 @@
 
 #include <linux/debugfs.h>
 
+#define CMA_MAX_NAME 64
+
 struct cma {
        unsigned long   base_pfn;
        unsigned long   count;
@@ -15,7 +17,7 @@ struct cma {
        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];