commit | d56e84b4064d65285161d6bfa04382e1cdd4e49c | [log] [tgz] |
---|---|---|
author | Joonsoo Kim <[email protected]> | Fri Jul 17 16:24:23 2015 -0700 |
committer | Linus Torvalds <[email protected]> | Fri Jul 17 16:39:54 2015 -0700 |
tree | ed35ca7cffee972c75be915ca25298dfeea0c78c | |
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 <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Cc: Sasha Levin <[email protected]> Cc: Stefan Strogin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>