Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ead50f58 authored by Joonsoo Kim's avatar Joonsoo Kim Committed by Liam Mark
Browse files

mm/cma_debug: correct size input to bitmap function



In CMA, 1 bit in bitmap means 1 << order_per_bits pages so size of
bitmap is cma->count >> order_per_bits rather than just cma->count.
This patch fixes it.

Change-Id: I6acb92805e5b2ff9d1f42b459964d5ad9842d5eb
Signed-off-by: default avatarJoonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Stefan Strogin <stefan.strogin@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Git-commit: d56e84b4064d65285161d6bfa04382e1cdd4e49c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent fc4e1ac7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment