diff options
Diffstat (limited to 'kernel/include/linux/cma.h')
-rw-r--r-- | kernel/include/linux/cma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/linux/cma.h b/kernel/include/linux/cma.h index f7ef093ec..29f9e774a 100644 --- a/kernel/include/linux/cma.h +++ b/kernel/include/linux/cma.h @@ -26,6 +26,6 @@ extern int __init cma_declare_contiguous(phys_addr_t base, extern int cma_init_reserved_mem(phys_addr_t base, phys_addr_t size, unsigned int order_per_bit, struct cma **res_cma); -extern struct page *cma_alloc(struct cma *cma, unsigned int count, unsigned int align); +extern struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align); extern bool cma_release(struct cma *cma, const struct page *pages, unsigned int count); #endif |