diff options
Diffstat (limited to 'arch/parisc/mm/init.c')
-rw-r--r-- | arch/parisc/mm/init.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index b4d6c8777ed0..7c155c254e72 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c | |||
@@ -36,7 +36,6 @@ extern int data_start; | |||
36 | 36 | ||
37 | #ifdef CONFIG_DISCONTIGMEM | 37 | #ifdef CONFIG_DISCONTIGMEM |
38 | struct node_map_data node_data[MAX_NUMNODES] __read_mostly; | 38 | struct node_map_data node_data[MAX_NUMNODES] __read_mostly; |
39 | bootmem_data_t bmem_data[MAX_NUMNODES] __read_mostly; | ||
40 | unsigned char pfnnid_map[PFNNID_MAP_MAX] __read_mostly; | 39 | unsigned char pfnnid_map[PFNNID_MAP_MAX] __read_mostly; |
41 | #endif | 40 | #endif |
42 | 41 | ||
@@ -262,7 +261,7 @@ static void __init setup_bootmem(void) | |||
262 | #ifdef CONFIG_DISCONTIGMEM | 261 | #ifdef CONFIG_DISCONTIGMEM |
263 | for (i = 0; i < MAX_PHYSMEM_RANGES; i++) { | 262 | for (i = 0; i < MAX_PHYSMEM_RANGES; i++) { |
264 | memset(NODE_DATA(i), 0, sizeof(pg_data_t)); | 263 | memset(NODE_DATA(i), 0, sizeof(pg_data_t)); |
265 | NODE_DATA(i)->bdata = &bmem_data[i]; | 264 | NODE_DATA(i)->bdata = &bootmem_node_data[i]; |
266 | } | 265 | } |
267 | memset(pfnnid_map, 0xff, sizeof(pfnnid_map)); | 266 | memset(pfnnid_map, 0xff, sizeof(pfnnid_map)); |
268 | 267 | ||
@@ -888,7 +887,7 @@ void __init paging_init(void) | |||
888 | } | 887 | } |
889 | #endif | 888 | #endif |
890 | 889 | ||
891 | free_area_init_node(i, NODE_DATA(i), zones_size, | 890 | free_area_init_node(i, zones_size, |
892 | pmem_ranges[i].start_pfn, NULL); | 891 | pmem_ranges[i].start_pfn, NULL); |
893 | } | 892 | } |
894 | } | 893 | } |