memblock: Protect memblock.h with CONFIG_HAVE_MEMBLOCK
authorYinghai Lu <yinghai@kernel.org>
Wed, 28 Jul 2010 05:28:21 +0000 (15:28 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:32 +0000 (12:56 +1000)
commitf0b37fad9a63217c39997b2d2b31f44e3d8be727
treeac98bee1b6f0a3d3c4f7907ddcbc11e81fd8c882
parent25818f0f288cd5333ba5a90ad6dde3def4c4ff58
memblock: Protect memblock.h with CONFIG_HAVE_MEMBLOCK

This should make it easier to catch/debug incorrect use when
the CONFIG_ option isn't set.

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