diff options
| author | Joonsoo Kim <[email protected]> | 2015-07-17 23:24:23 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-07-17 23:39:54 +0000 |
| commit | d56e84b4064d65285161d6bfa04382e1cdd4e49c (patch) | |
| tree | ed35ca7cffee972c75be915ca25298dfeea0c78c /net/switchdev/switchdev.c | |
| parent | mm/cma_debug: fix debugging alloc/free interface (diff) | |
| download | kernel-d56e84b4064d65285161d6bfa04382e1cdd4e49c.tar.gz kernel-d56e84b4064d65285161d6bfa04382e1cdd4e49c.zip | |
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
