diff options
Diffstat (limited to 'include/linux/bootmem.h')
-rw-r--r-- | include/linux/bootmem.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h index 66d3e954eb6c..324fe08ea3b1 100644 --- a/include/linux/bootmem.h +++ b/include/linux/bootmem.h | |||
@@ -135,9 +135,6 @@ extern void *__alloc_bootmem_low_node(pg_data_t *pgdat, | |||
135 | extern int reserve_bootmem_generic(unsigned long addr, unsigned long size, | 135 | extern int reserve_bootmem_generic(unsigned long addr, unsigned long size, |
136 | int flags); | 136 | int flags); |
137 | 137 | ||
138 | extern void *alloc_bootmem_section(unsigned long size, | ||
139 | unsigned long section_nr); | ||
140 | |||
141 | #ifdef CONFIG_HAVE_ARCH_ALLOC_REMAP | 138 | #ifdef CONFIG_HAVE_ARCH_ALLOC_REMAP |
142 | extern void *alloc_remap(int nid, unsigned long size); | 139 | extern void *alloc_remap(int nid, unsigned long size); |
143 | #else | 140 | #else |
@@ -154,7 +151,8 @@ extern void *alloc_large_system_hash(const char *tablename, | |||
154 | int flags, | 151 | int flags, |
155 | unsigned int *_hash_shift, | 152 | unsigned int *_hash_shift, |
156 | unsigned int *_hash_mask, | 153 | unsigned int *_hash_mask, |
157 | unsigned long limit); | 154 | unsigned long low_limit, |
155 | unsigned long high_limit); | ||
158 | 156 | ||
159 | #define HASH_EARLY 0x00000001 /* Allocating during early boot? */ | 157 | #define HASH_EARLY 0x00000001 /* Allocating during early boot? */ |
160 | #define HASH_SMALL 0x00000002 /* sub-page allocation allowed, min | 158 | #define HASH_SMALL 0x00000002 /* sub-page allocation allowed, min |