summaryrefslogtreecommitdiff
path: root/mm/cma.h
diff options
context:
space:
mode:
authorJiale Yang <295107659@qq.com>2024-11-20 11:01:35 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-01-13 22:40:35 -0800
commitafeac03c48bc57eb9b38cdfa6db53cc3edb66bce (patch)
treec373643e7e781a990cb70829ab05755e1b157870 /mm/cma.h
parent20f3ab257211594c110c43e71c31bd25ba31e851 (diff)
mm: change type of cma_area_count to unsigned int
Prefer 'unsigned int' over plain 'unsigned'. Also make it consistent with mm/cma.c Link: https://lkml.kernel.org/r/tencent_1E5E3AA25C261196D8C1F7097F130E382008@qq.com Signed-off-by: Jiale Yang <295107659@qq.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/cma.h')
-rw-r--r--mm/cma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/cma.h b/mm/cma.h
index ad61cc6dd439..8485ef893e99 100644
--- a/mm/cma.h
+++ b/mm/cma.h
@@ -36,7 +36,7 @@ struct cma {
};
extern struct cma cma_areas[MAX_CMA_AREAS];
-extern unsigned cma_area_count;
+extern unsigned int cma_area_count;
static inline unsigned long cma_bitmap_maxno(struct cma *cma)
{