diff options
author | Joonsoo Kim <js1304@gmail.com> | 2015-07-17 16:24:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-07-17 16:39:54 -0700 |
commit | d56e84b4064d65285161d6bfa04382e1cdd4e49c (patch) | |
tree | ed35ca7cffee972c75be915ca25298dfeea0c78c /lib/decompress.c | |
parent | 2292c0b1c4a24da54e29b3cf0645b4a4d9c3f2c7 (diff) |
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.
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Stefan Strogin <stefan.strogin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions