diff options
Diffstat (limited to 'mm/cma.h')
-rw-r--r-- | mm/cma.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -25,9 +25,11 @@ struct cma_kobject { */ struct cma_memrange { unsigned long base_pfn; - unsigned long early_pfn; unsigned long count; - unsigned long *bitmap; + union { + unsigned long early_pfn; + unsigned long *bitmap; + }; #ifdef CONFIG_CMA_DEBUGFS struct debugfs_u32_array dfs_bitmap; #endif |