patch-2.3.41 linux/arch/sparc64/kernel/smp.c
Next file: linux/arch/sparc64/kernel/sparc64_ksyms.c
Previous file: linux/arch/sparc64/kernel/signal32.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Fri Jan 21 18:22:54 2000
- Orig file:
v2.3.40/linux/arch/sparc64/kernel/smp.c
- Orig date:
Wed Dec 29 13:13:14 1999
diff -u --recursive --new-file v2.3.40/linux/arch/sparc64/kernel/smp.c linux/arch/sparc64/kernel/smp.c
@@ -38,7 +38,7 @@
struct cpuinfo_sparc cpu_data[NR_CPUS] __attribute__ ((aligned (64)));
-volatile int cpu_number_map[NR_CPUS] __attribute__ ((aligned (64)));
+volatile int __cpu_number_map[NR_CPUS] __attribute__ ((aligned (64)));
volatile int __cpu_logical_map[NR_CPUS] __attribute__ ((aligned (64)));
/* Please don't make this stuff initdata!!! --DaveM */
@@ -243,7 +243,7 @@
udelay(100);
}
if(callin_flag) {
- cpu_number_map[i] = cpucount;
+ __cpu_number_map[i] = cpucount;
__cpu_logical_map[cpucount] = i;
prom_cpu_nodes[i] = linux_cpus[no].prom_node;
prom_printf("OK\n");
@@ -255,7 +255,7 @@
}
if(!callin_flag) {
cpu_present_map &= ~(1UL << i);
- cpu_number_map[i] = -1;
+ __cpu_number_map[i] = -1;
}
}
cpu_new_task = NULL;
@@ -697,10 +697,10 @@
for(i = 0; i < linux_num_cpus; i++)
cpu_present_map |= (1UL << linux_cpus[i].mid);
for(i = 0; i < NR_CPUS; i++) {
- cpu_number_map[i] = -1;
+ __cpu_number_map[i] = -1;
__cpu_logical_map[i] = -1;
}
- cpu_number_map[boot_cpu_id] = 0;
+ __cpu_number_map[boot_cpu_id] = 0;
prom_cpu_nodes[boot_cpu_id] = linux_cpus[0].prom_node;
__cpu_logical_map[0] = boot_cpu_id;
current->processor = boot_cpu_id;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)