ARM: 7993/1: mm/memblock: add memblock_get_current_limit
authorLaura Abbott <[email protected]>
Thu, 27 Feb 2014 00:23:43 +0000 (01:23 +0100)
committerRussell King <[email protected]>
Wed, 12 Mar 2014 00:16:56 +0000 (00:16 +0000)
commitfec510141088ca1f15d1b79f9f6838810d668b77
tree1caf6ebeda80c549346ea16aa708a44b68e26d3c
parenta51345770e519552e749ff457a2a9f83171a67b5
ARM: 7993/1: mm/memblock: add memblock_get_current_limit

Apart from setting the limit of memblock, it's also useful to be able
to get the limit to avoid recalculating it every time. Add the function
to do so.

Acked-by: Catalin Marinas <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Acked-by: Andrew Morton <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Signed-off-by: Laura Abbott <[email protected]>
Signed-off-by: Russell King <[email protected]>
include/linux/memblock.h
mm/memblock.c