aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memblock.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-07-28 01:20:58 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-08-04 22:56:29 -0400
commit37d8d4bf489e39eedc9537f8616fe87879b13cb0 (patch)
tree44987d75fa87aee2737bca59574e3b7459ad4797 /include/linux/memblock.h
parentea9e4376bb545e400a325b3d76fecd02815303c0 (diff)
memblock: Export MEMBLOCK_ERROR
will used by x86 memblock_x86_find_in_range_node and nobootmem replacement Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/memblock.h')
-rw-r--r--include/linux/memblock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index eed0f9b8e526..1a9c29cc92fa 100644
--- a/include/linux/memblock.h
+++ b/include/linux/memblock.h
@@ -18,7 +18,8 @@
18 18
19#include <asm/memblock.h> 19#include <asm/memblock.h>
20 20
21#define INIT_MEMBLOCK_REGIONS 128 21#define INIT_MEMBLOCK_REGIONS 128
22#define MEMBLOCK_ERROR (~(phys_addr_t)0)
22 23
23struct memblock_region { 24struct memblock_region {
24 phys_addr_t base; 25 phys_addr_t base;