diff options
author | Joonsoo Kim <[email protected]> | 2015-07-17 16:24:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-07-17 16:39:54 -0700 |
commit | d56e84b4064d65285161d6bfa04382e1cdd4e49c (patch) | |
tree | ed35ca7cffee972c75be915ca25298dfeea0c78c /lib/debugobjects.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 <[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]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions