diff options
Diffstat (limited to 'include/linux/bootmem.h')
-rw-r--r-- | include/linux/bootmem.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h index 6d6795d46a7..3f778c27f82 100644 --- a/include/linux/bootmem.h +++ b/include/linux/bootmem.h | |||
@@ -51,8 +51,8 @@ extern unsigned long free_all_bootmem(void); | |||
51 | extern void free_bootmem_node(pg_data_t *pgdat, | 51 | extern void free_bootmem_node(pg_data_t *pgdat, |
52 | unsigned long addr, | 52 | unsigned long addr, |
53 | unsigned long size); | 53 | unsigned long size); |
54 | extern void free_bootmem(unsigned long addr, unsigned long size); | 54 | extern void free_bootmem(unsigned long physaddr, unsigned long size); |
55 | extern void free_bootmem_late(unsigned long addr, unsigned long size); | 55 | extern void free_bootmem_late(unsigned long physaddr, unsigned long size); |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * Flags for reserve_bootmem (also if CONFIG_HAVE_ARCH_BOOTMEM_NODE, | 58 | * Flags for reserve_bootmem (also if CONFIG_HAVE_ARCH_BOOTMEM_NODE, |
@@ -137,9 +137,6 @@ extern void *__alloc_bootmem_low_node(pg_data_t *pgdat, | |||
137 | #define alloc_bootmem_low_pages_node(pgdat, x) \ | 137 | #define alloc_bootmem_low_pages_node(pgdat, x) \ |
138 | __alloc_bootmem_low_node(pgdat, x, PAGE_SIZE, 0) | 138 | __alloc_bootmem_low_node(pgdat, x, PAGE_SIZE, 0) |
139 | 139 | ||
140 | extern int reserve_bootmem_generic(unsigned long addr, unsigned long size, | ||
141 | int flags); | ||
142 | |||
143 | #ifdef CONFIG_HAVE_ARCH_ALLOC_REMAP | 140 | #ifdef CONFIG_HAVE_ARCH_ALLOC_REMAP |
144 | extern void *alloc_remap(int nid, unsigned long size); | 141 | extern void *alloc_remap(int nid, unsigned long size); |
145 | #else | 142 | #else |