diff options
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r-- | arch/ia64/mm/discontig.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c index 40e4c1fbf76b..19c4b2195dce 100644 --- a/arch/ia64/mm/discontig.c +++ b/arch/ia64/mm/discontig.c | |||
@@ -450,7 +450,8 @@ static void __init initialize_pernode_data(void) | |||
450 | /* Set the node_data pointer for each per-cpu struct */ | 450 | /* Set the node_data pointer for each per-cpu struct */ |
451 | for_each_possible_early_cpu(cpu) { | 451 | for_each_possible_early_cpu(cpu) { |
452 | node = node_cpuid[cpu].nid; | 452 | node = node_cpuid[cpu].nid; |
453 | per_cpu(cpu_info, cpu).node_data = mem_data[node].node_data; | 453 | per_cpu(ia64_cpu_info, cpu).node_data = |
454 | mem_data[node].node_data; | ||
454 | } | 455 | } |
455 | #else | 456 | #else |
456 | { | 457 | { |
@@ -458,7 +459,7 @@ static void __init initialize_pernode_data(void) | |||
458 | cpu = 0; | 459 | cpu = 0; |
459 | node = node_cpuid[cpu].nid; | 460 | node = node_cpuid[cpu].nid; |
460 | cpu0_cpu_info = (struct cpuinfo_ia64 *)(__phys_per_cpu_start + | 461 | cpu0_cpu_info = (struct cpuinfo_ia64 *)(__phys_per_cpu_start + |
461 | ((char *)&per_cpu__cpu_info - __per_cpu_start)); | 462 | ((char *)&per_cpu__ia64_cpu_info - __per_cpu_start)); |
462 | cpu0_cpu_info->node_data = mem_data[node].node_data; | 463 | cpu0_cpu_info->node_data = mem_data[node].node_data; |
463 | } | 464 | } |
464 | #endif /* CONFIG_SMP */ | 465 | #endif /* CONFIG_SMP */ |