diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-07-28 01:20:58 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-04 22:56:29 -0400 |
commit | 37d8d4bf489e39eedc9537f8616fe87879b13cb0 (patch) | |
tree | 44987d75fa87aee2737bca59574e3b7459ad4797 /mm | |
parent | ea9e4376bb545e400a325b3d76fecd02815303c0 (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 'mm')
-rw-r--r-- | mm/memblock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memblock.c b/mm/memblock.c index c3703abf057e..85cfa1d3ab28 100644 --- a/mm/memblock.c +++ b/mm/memblock.c | |||
@@ -27,8 +27,6 @@ int memblock_can_resize; | |||
27 | static struct memblock_region memblock_memory_init_regions[INIT_MEMBLOCK_REGIONS + 1]; | 27 | static struct memblock_region memblock_memory_init_regions[INIT_MEMBLOCK_REGIONS + 1]; |
28 | static struct memblock_region memblock_reserved_init_regions[INIT_MEMBLOCK_REGIONS + 1]; | 28 | static struct memblock_region memblock_reserved_init_regions[INIT_MEMBLOCK_REGIONS + 1]; |
29 | 29 | ||
30 | #define MEMBLOCK_ERROR (~(phys_addr_t)0) | ||
31 | |||
32 | /* inline so we don't get a warning when pr_debug is compiled out */ | 30 | /* inline so we don't get a warning when pr_debug is compiled out */ |
33 | static inline const char *memblock_type_name(struct memblock_type *type) | 31 | static inline const char *memblock_type_name(struct memblock_type *type) |
34 | { | 32 | { |