aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memblock.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-07-06 18:39:00 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-08-04 22:56:06 -0400
commit27f574c223d2c09610058b3ec7a29582d63a3e06 (patch)
tree2689c93200504ff0d8734be50a8ca329607d8807 /include/linux/memblock.h
parentc3f72b5706716ada7923def513486ab7bb3a5301 (diff)
memblock: Expose MEMBLOCK_ALLOC_ANYWHERE
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/memblock.h')
-rw-r--r--include/linux/memblock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index 367dea6e95a0..3cf3304e901d 100644
--- a/include/linux/memblock.h
+++ b/include/linux/memblock.h
@@ -50,6 +50,7 @@ extern u64 __init memblock_alloc_nid(u64 size, u64 align, int nid);
50extern u64 __init memblock_alloc(u64 size, u64 align); 50extern u64 __init memblock_alloc(u64 size, u64 align);
51extern u64 __init memblock_alloc_base(u64 size, 51extern u64 __init memblock_alloc_base(u64 size,
52 u64, u64 max_addr); 52 u64, u64 max_addr);
53#define MEMBLOCK_ALLOC_ANYWHERE 0
53extern u64 __init __memblock_alloc_base(u64 size, 54extern u64 __init __memblock_alloc_base(u64 size,
54 u64 align, u64 max_addr); 55 u64 align, u64 max_addr);
55extern u64 __init memblock_phys_mem_size(void); 56extern u64 __init memblock_phys_mem_size(void);