]> git.karo-electronics.de Git - linux-beck.git/commit
memblock: Make MEMBLOCK_ERROR be 0
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 Jul 2010 05:25:10 +0000 (15:25 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:30 +0000 (12:56 +1000)
commit25818f0f288cd5333ba5a90ad6dde3def4c4ff58
tree993384eff73bac874201d342c43a8e596dd1f485
parent37d8d4bf489e39eedc9537f8616fe87879b13cb0
memblock: Make MEMBLOCK_ERROR be 0

And ensure we don't hand out 0 as a valid allocation. We put the
low limit at PAGE_SIZE arbitrarily.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/linux/memblock.h
mm/memblock.c