diff options
-rw-r--r-- | include/linux/bootmem.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h index 4ddf2922fc8d..652470b687c9 100644 --- a/include/linux/bootmem.h +++ b/include/linux/bootmem.h | |||
@@ -103,17 +103,16 @@ extern void *__alloc_bootmem_low_node(pg_data_t *pgdat, | |||
103 | __alloc_bootmem(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)) | 103 | __alloc_bootmem(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)) |
104 | #define alloc_bootmem_low_pages(x) \ | 104 | #define alloc_bootmem_low_pages(x) \ |
105 | __alloc_bootmem_low(x, PAGE_SIZE, 0) | 105 | __alloc_bootmem_low(x, PAGE_SIZE, 0) |
106 | #endif /* !CONFIG_HAVE_ARCH_BOOTMEM_NODE */ | ||
107 | |||
108 | extern int reserve_bootmem_generic(unsigned long addr, unsigned long size, | ||
109 | int flags); | ||
110 | |||
111 | #define alloc_bootmem_node(pgdat, x) \ | 106 | #define alloc_bootmem_node(pgdat, x) \ |
112 | __alloc_bootmem_node(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS)) | 107 | __alloc_bootmem_node(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS)) |
113 | #define alloc_bootmem_pages_node(pgdat, x) \ | 108 | #define alloc_bootmem_pages_node(pgdat, x) \ |
114 | __alloc_bootmem_node(pgdat, x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)) | 109 | __alloc_bootmem_node(pgdat, x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)) |
115 | #define alloc_bootmem_low_pages_node(pgdat, x) \ | 110 | #define alloc_bootmem_low_pages_node(pgdat, x) \ |
116 | __alloc_bootmem_low_node(pgdat, x, PAGE_SIZE, 0) | 111 | __alloc_bootmem_low_node(pgdat, x, PAGE_SIZE, 0) |
112 | #endif /* !CONFIG_HAVE_ARCH_BOOTMEM_NODE */ | ||
113 | |||
114 | extern int reserve_bootmem_generic(unsigned long addr, unsigned long size, | ||
115 | int flags); | ||
117 | 116 | ||
118 | extern void *alloc_bootmem_section(unsigned long size, | 117 | extern void *alloc_bootmem_section(unsigned long size, |
119 | unsigned long section_nr); | 118 | unsigned long section_nr); |