diff options
Diffstat (limited to 'kernel/mm/cma.h')
-rw-r--r-- | kernel/mm/cma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/mm/cma.h b/kernel/mm/cma.h index 1132d7335..17c75a424 100644 --- a/kernel/mm/cma.h +++ b/kernel/mm/cma.h @@ -16,7 +16,7 @@ struct cma { extern struct cma cma_areas[MAX_CMA_AREAS]; extern unsigned cma_area_count; -static unsigned long cma_bitmap_maxno(struct cma *cma) +static inline unsigned long cma_bitmap_maxno(struct cma *cma) { return cma->count >> cma->order_per_bit; } |