aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorGeorge G. Davis <[email protected]>2015-02-11 15:26:27 -0800
committerLinus Torvalds <[email protected]>2015-02-11 17:06:03 -0800
commit94737a85f332aee75255960eaa16e89ddfa4c75a (patch)
treefaa2fd05604246ff70c2b750253efb5109f18692 /net/lapb/lapb_subr.c
parentc32b3cbe0d067a9cfae85aa70ba1e97ceba0ced7 (diff)
mm: cma: fix totalcma_pages to include DT defined CMA regions
The totalcma_pages variable is not updated to account for CMA regions defined via device tree reserved-memory sub-nodes. Fix this omission by moving the calculation of totalcma_pages into cma_init_reserved_mem() instead of cma_declare_contiguous() such that it will include reserved memory used by all CMA regions. Signed-off-by: George G. Davis <[email protected]> Cc: Marek Szyprowski <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: "Aneesh Kumar K.V" <[email protected]> Cc: Laurent Pinchart <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions