diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 1958358e29b0..20e239599db0 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1972,18 +1972,18 @@ void __init free_area_init_node(int nid, struct pglist_data *pgdat, | |||
1972 | free_area_init_core(pgdat, zones_size, zholes_size); | 1972 | free_area_init_core(pgdat, zones_size, zholes_size); |
1973 | } | 1973 | } |
1974 | 1974 | ||
1975 | #ifndef CONFIG_DISCONTIGMEM | 1975 | #ifndef CONFIG_NEED_MULTIPLE_NODES |
1976 | static bootmem_data_t contig_bootmem_data; | 1976 | static bootmem_data_t contig_bootmem_data; |
1977 | struct pglist_data contig_page_data = { .bdata = &contig_bootmem_data }; | 1977 | struct pglist_data contig_page_data = { .bdata = &contig_bootmem_data }; |
1978 | 1978 | ||
1979 | EXPORT_SYMBOL(contig_page_data); | 1979 | EXPORT_SYMBOL(contig_page_data); |
1980 | #endif | ||
1980 | 1981 | ||
1981 | void __init free_area_init(unsigned long *zones_size) | 1982 | void __init free_area_init(unsigned long *zones_size) |
1982 | { | 1983 | { |
1983 | free_area_init_node(0, &contig_page_data, zones_size, | 1984 | free_area_init_node(0, NODE_DATA(0), zones_size, |
1984 | __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL); | 1985 | __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL); |
1985 | } | 1986 | } |
1986 | #endif | ||
1987 | 1987 | ||
1988 | #ifdef CONFIG_PROC_FS | 1988 | #ifdef CONFIG_PROC_FS |
1989 | 1989 | ||