]> git.karo-electronics.de Git - linux-beck.git/commit
memblock: split memblock_find_base() out of __memblock_alloc_base()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 12 Jul 2010 04:24:57 +0000 (14:24 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:18 +0000 (12:56 +1000)
commit7f219c736f9439acb1c50d264fbee93c353773ca
tree24e4aa4f3135f639954243fcd015b44786a9a11d
parent7590abe891c85fbc65dc906516d0bf89e070c19a
memblock: split memblock_find_base() out of __memblock_alloc_base()

This will be used by the array resize code and might prove useful
to some arch code as well at which point it can be made non-static.

Also add comment as to why aligning size is important

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---

v2. Fix loss of size alignment
v3. Fix result code
mm/memblock.c